lib/thread/pool.rb in thread-0.0.1 vs lib/thread/pool.rb in thread-0.0.1.1

- old
+ new

@@ -37,13 +37,13 @@ pool.wake_up_timeout begin @block.call(*@arguments) - rescue Exception => e - if e.is_a? Timeout + rescue Exception => reason + if reason.is_a? Timeout @timedout = true - elsif e.is_a? Asked + elsif reason.is_a? Asked return else @exception = reason end end