Skip to content

Commit

Permalink
minor issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tal Hadad committed Aug 2, 2023
1 parent cc2aa9b commit 0d3f446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/session/vsc.R
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ if (use_httpgd && "httpgd" %in% .packages(all.available = TRUE)) {
on.exit({
dev.off()
cat(get_timestamp(), file = plot_lock_file)
if (request_tcp_connection) {
if (!is.na(request_tcp_connection)) {
tryCatch({
plot_file_content <- readr::read_file_raw(plot_file)
format <- "image/png"# right now only this format is supported
Expand Down

0 comments on commit 0d3f446

Please sign in to comment.