Skip to content

Commit

Permalink
Fix #265
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Jan 12, 2021
1 parent 0aeabe8 commit e6e645f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/class_clustermq.R
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,12 @@ clustermq_class <- R6::R6Class(
)
},
run_clustermq = function() {
on.exit(self$crew$finalize())
on.exit(try(self$crew$finalize()))
self$start_crew(self$pipeline$envir)
while (self$scheduler$progress$any_remaining()) {
self$iterate()
}
if (self$crew$cleanup()) {
if (identical(try(self$crew$cleanup()), TRUE)) {
on.exit()
}
},
Expand Down

0 comments on commit e6e645f

Please sign in to comment.