diff --git a/lib/async/task.rb b/lib/async/task.rb index ceedb357..b50a4e3a 100644 --- a/lib/async/task.rb +++ b/lib/async/task.rb @@ -246,6 +246,9 @@ def stop(later = false) if @defer_stop == false # Don't stop now... but update the state so we know we need to stop later. @defer_stop = true + + stop_children(false) + return false end