Skip to content

Commit

Permalink
Backward compatibility: Call ClusterRegistry(action = "stop") for now…
Browse files Browse the repository at this point in the history
…, if nothing is specified [#719]
  • Loading branch information
HenrikBengtsson committed May 29, 2024
1 parent 9cc64fa commit d4b460d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: future
Version: 1.33.2-9002
Version: 1.33.2-9003
Title: Unified Parallel and Distributed Processing in R for Everyone
Imports:
digest,
Expand Down
3 changes: 3 additions & 0 deletions R/zzz.plan.R
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ plan <- local({
} else {
stop(FutureError(sprintf("Unknown type of 'cleanup' attribute on current future strategy: %s", sQuote(paste(class(cleanup), collapse = ", ")))))
}
} else {
## Backward compatibility for future (<= 1.33.2)
ClusterRegistry(action = "stop")
}
}

Expand Down

0 comments on commit d4b460d

Please sign in to comment.