diff options
author | Hemant Kumar <gethemant@gmail.com> | 2013-09-03 09:49:24 +0530 |
---|---|---|
committer | Hemant Kumar <gethemant@gmail.com> | 2013-09-03 09:49:24 +0530 |
commit | 4a6c70dd58f49ef4064e3825b678982862f31df4 (patch) | |
tree | 282fc93f9ca4272034594ad3d8daca142127ef4d | |
parent | ef66cdaedb041c7d4845ff5cfeed058e9e0822a8 (diff) | |
download | bundler-4a6c70dd58f49ef4064e3825b678982862f31df4.tar.gz |
Remove abort on exception
-rw-r--r-- | lib/bundler/parallel_workers/thread_worker.rb | 1 | ||||
-rw-r--r-- | lib/bundler/parallel_workers/unix_worker.rb | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/bundler/parallel_workers/thread_worker.rb b/lib/bundler/parallel_workers/thread_worker.rb index eed69dbd3e..707e9f63b7 100644 --- a/lib/bundler/parallel_workers/thread_worker.rb +++ b/lib/bundler/parallel_workers/thread_worker.rb @@ -12,7 +12,6 @@ module Bundler def prepare_workers(size, func) @threads = size.times.map do |i| Thread.start do - Thread.current.abort_on_exception = true loop do obj = @request_queue.deq break if obj.equal? POISON diff --git a/lib/bundler/parallel_workers/unix_worker.rb b/lib/bundler/parallel_workers/unix_worker.rb index c7f3f33304..71d130e0f9 100644 --- a/lib/bundler/parallel_workers/unix_worker.rb +++ b/lib/bundler/parallel_workers/unix_worker.rb @@ -62,7 +62,6 @@ module Bundler @threads = size.times.map do |i| Thread.start do worker = @workers[i] - Thread.current.abort_on_exception = true loop do obj = @request_queue.deq break if obj.equal? POISON |