Skip to content

Commit fa2770b

Browse files
Remove explicit ensure stop - it breaks graceful shutdown. (#217)
1 parent c06bab8 commit fa2770b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/async/http/server.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ def run
6767

6868
# Wait for all children to finish:
6969
task.children.each(&:wait)
70-
ensure
71-
# Stop all children (accept loops) on exit:
72-
task.children.each(&:stop)
7370
end
7471
end
7572
end

0 commit comments

Comments
 (0)