diff options
Diffstat (limited to 'lib/rainbows/join_threads.rb')
-rw-r--r-- | lib/rainbows/join_threads.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/join_threads.rb b/lib/rainbows/join_threads.rb index 5d5c64f..7ab2004 100644 --- a/lib/rainbows/join_threads.rb +++ b/lib/rainbows/join_threads.rb @@ -10,7 +10,7 @@ module Rainbows::JoinThreads Rainbows.tick begin # blocking accept() may not wake up properly - thr.raise(Errno::EINTR) if Time.now > expire && "sleep" == thr.status + thr.raise(Errno::EINTR) if Time.now > expire && thr.stop? thr.run thr.join(0.01) |