Skip to content

Commit

Permalink
MulticoreFuture does not have to cleanup after itself
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikBengtsson committed Jan 2, 2025
1 parent 7acc1bd commit 15191ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/MulticoreFuture-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ run.MulticoreFuture <- function(future, ...) {

mcparallel <- importParallel("mcparallel")

expr <- getExpression(future, globals = list())
expr <- getExpression(future, globals = list(), cleanup = FALSE)
envir <- future$envir
envir <- new.env(parent = envir)

Expand Down

0 comments on commit 15191ea

Please sign in to comment.