From a267b68ad921d115615abfc15de25a947e86fe38 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 11 Oct 2009 20:54:05 -0700 Subject: Fix graceful shutdowns for threaded models They were completely broken in the refactoring :x --- lib/rainbows/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rainbows/base.rb') diff --git a/lib/rainbows/base.rb b/lib/rainbows/base.rb index 8a38117..4d5fec1 100644 --- a/lib/rainbows/base.rb +++ b/lib/rainbows/base.rb @@ -81,7 +81,7 @@ module Rainbows logger.error e.backtrace.join("\n") end - def join_threads(threads) + def join_threads(threads, worker) logger.info "Joining threads..." threads.each { |thr| thr[:quit] = true } t0 = Time.now -- cgit v1.2.3-24-ge0c7