Browse code

silence failed kills; this does not address the root problem

Martin Morgan authored on 06/03/2019 14:51:10
Showing 1 changed files

... ...
@@ -90,7 +90,7 @@
90 90
           results <- results[idx]
91 91
           nms <- base::names(results)
92 92
           tids <- match(nms, names())
93
-          .mc_kill(tasks[tids], 15)
93
+          tryCatch(.mc_kill(tasks[tids], 15), error = function(...) NULL)
94 94
           for (i in seq_along(nms)) {
95 95
               tid <- tids[i]
96 96
               task <- tasks[[tid]]