Skip to content

Commit 0d3f446

Browse files
author
Tal Hadad
committed
minor issue fix
1 parent cc2aa9b commit 0d3f446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/session/vsc.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ if (use_httpgd && "httpgd" %in% .packages(all.available = TRUE)) {
438438
on.exit({
439439
dev.off()
440440
cat(get_timestamp(), file = plot_lock_file)
441-
if (request_tcp_connection) {
441+
if (!is.na(request_tcp_connection)) {
442442
tryCatch({
443443
plot_file_content <- readr::read_file_raw(plot_file)
444444
format <- "image/png"# right now only this format is supported

0 commit comments

Comments
 (0)