mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Break out of the loop after shutdown in DRbServer
* Patch by @seki: https://gist.github.com/seki/ae8bef20238c37c94a91b5461c4bfbdd git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2e6235aa71
commit
06c7693c1f
1 changed files with 4 additions and 1 deletions
|
@ -1678,7 +1678,10 @@ module DRb
|
|||
error_print(e) if verbose
|
||||
ensure
|
||||
client.close unless succ
|
||||
shutdown if Thread.current['DRb']['stop_service']
|
||||
if Thread.current['DRb']['stop_service']
|
||||
shutdown
|
||||
break
|
||||
end
|
||||
break unless succ
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue