about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rainbows/revactor.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/revactor.rb b/lib/rainbows/revactor.rb
index a0740fa..a20e09a 100644
--- a/lib/rainbows/revactor.rb
+++ b/lib/rainbows/revactor.rb
@@ -102,6 +102,7 @@ module Rainbows
           filter.after(1) do
             if alive
               alive.chmod(nr = 0 == nr ? 1 : 0)
+              listeners.each { |l| alive = false if l.dead? }
               ppid == Process.ppid or alive = false
             end
           end