Skip to content

Commit 2ed46ed

Browse files
committed
Swallow errors in stop
1 parent 20f0809 commit 2ed46ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/spring/application_manager.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ def stop
8282
Process.kill('TERM', pid)
8383
Process.wait(pid)
8484
end
85+
rescue Errno::ESRCH, Errno::ECHILD
86+
# Don't care
8587
end
8688

8789
private

0 commit comments

Comments
 (0)