Skip to content

Commit

Permalink
ThreadPoolExecutor kill will wait_for_termination in JRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
bensheldon committed Mar 11, 2024
1 parent eae2851 commit 3f0e6e3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ def shutdown
def kill
synchronize do
@executor.shutdownNow
nil
end
wait_for_termination
nil
end

private
Expand Down

0 comments on commit 3f0e6e3

Please sign in to comment.