aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r--activesupport/lib/active_support/queueing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/queueing.rb b/activesupport/lib/active_support/queueing.rb
index d36b5c17a8..0a4ab05b78 100644
--- a/activesupport/lib/active_support/queueing.rb
+++ b/activesupport/lib/active_support/queueing.rb
@@ -110,7 +110,7 @@ module ActiveSupport
end
def drain
- Thread.new { run(@queue.pop) until @queue.empty? }.join
+ run(@queue.pop) until @queue.empty?
end
def consume