1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Allow to stop by push(nil) for test

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2018-10-20 12:28:52 +00:00
parent 129316dd1f
commit 12b085a7bf

View file

@ -61,8 +61,7 @@ module DRb
private
def invoke_thread
Thread.new do
while true
name = @queue.pop
while name = @queue.pop
invoke_service_command(name, @@command[name])
end
end