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:
parent
129316dd1f
commit
12b085a7bf
1 changed files with 1 additions and 2 deletions
|
@ -61,8 +61,7 @@ module DRb
|
||||||
private
|
private
|
||||||
def invoke_thread
|
def invoke_thread
|
||||||
Thread.new do
|
Thread.new do
|
||||||
while true
|
while name = @queue.pop
|
||||||
name = @queue.pop
|
|
||||||
invoke_service_command(name, @@command[name])
|
invoke_service_command(name, @@command[name])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue