Skip to content

Commit 9cfbd78

Browse files
committed
Do not set auto_terminate twice
1 parent 9426e88 commit 9cfbd78

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ def ns_initialize(opts)
108108
queue = java.util.concurrent.LinkedBlockingQueue.new(@max_queue)
109109
end
110110

111-
self.auto_terminate = opts.fetch(:auto_terminate, true)
112-
113111
@executor = java.util.concurrent.ThreadPoolExecutor.new(
114112
min_length,
115113
max_length,

0 commit comments

Comments
 (0)