Skip to content

Commit

Permalink
Close extra connections
Browse files Browse the repository at this point in the history
This might be temporary, I suspect we'll need to have
more control.
  • Loading branch information
gaborcsardi committed Jul 15, 2019
1 parent f5d952c commit 1489fee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/run.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ run_r <- function(options) {
)
)

for (c in options$connections) try(close(c))

res$command <- c(options$bin, options$real_cmdargs)
res
}

0 comments on commit 1489fee

Please sign in to comment.