Skip to content

Commit d9293ee

Browse files
IanButterworthJamesWrigley
authored andcommitted
fix both remotecall_pool remotecall waits to ignore errors
1 parent f2489b6 commit d9293ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/workerpool.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ function remotecall_pool(rc_f::typeof(remotecall), f, pool::AbstractWorkerPool,
149149

150150
t = Threads.@spawn try
151151
wait(x)
152+
catch # just wait, ignore errors here
152153
finally
153154
put!(pool, worker)
154155
end
@@ -418,6 +419,7 @@ function remotecall_pool(rc_f::typeof(remotecall), f, pool::CachingPool, args...
418419

419420
t = Threads.@spawn Threads.threadpool() try
420421
wait(x)
422+
catch # just wait, ignore errors here
421423
finally
422424
put!(pool, worker)
423425
end

0 commit comments

Comments
 (0)