From c8972f91b2b2e1c49c7c8fdc070430435c38de4e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 30 Nov 2009 00:17:32 -0800 Subject: ThreadPool: no need to exit! Just die naturally here if threads don't die on their own. --- lib/rainbows/base.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/rainbows/base.rb b/lib/rainbows/base.rb index 7ee5c03..3336c3b 100644 --- a/lib/rainbows/base.rb +++ b/lib/rainbows/base.rb @@ -74,7 +74,6 @@ module Rainbows until threads.empty? || Time.now >= expire threads.delete_if { |thr| thr.alive? ? thr.join(0.01) : true } end - exit!(0) unless threads.empty? end def self.included(klass) -- cgit v1.2.3-24-ge0c7