Skip to content

Commit 7c0b5f2

Browse files
Stop controller on interrupt.
Assisted-By: devx/3236e566-7538-432e-a30a-2bdf37265ed4
1 parent 9986da8 commit 7c0b5f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/async/container/controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def run(signals: Async::Signals.default)
309309
end
310310
end
311311
rescue Interrupt
312-
# Ignore - normal shutdown - can propagate from top level Sync.
312+
self.stop(false)
313313
end
314314
end
315315
end

0 commit comments

Comments
 (0)