diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-20 12:28:45 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-20 12:28:45 +0000 |
commit | 129316dd1f6369f6172d4d0075d83f784fd6fe0e (patch) | |
tree | f3aa8bfeb70e15d6560d81eee32c84ed01151b68 /lib/drb/drb.rb | |
parent | d02a7ac01c2a93e69031226ca749ab81d1b0a618 (diff) | |
download | ruby-129316dd1f6369f6172d4d0075d83f784fd6fe0e.tar.gz |
Revert "Reset primary_server when remove_server"
This reverts commit 2948d3bd2e78b5b9110454a7135a81c3fecb2575.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/drb/drb.rb')
-rw-r--r-- | lib/drb/drb.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb index 6da8c5f6a7..a20ee1f143 100644 --- a/lib/drb/drb.rb +++ b/lib/drb/drb.rb @@ -1866,11 +1866,6 @@ module DRb # Removes +server+ from the list of registered servers. def remove_server(server) @server.delete(server.uri) - mutex.synchronize do - if @primary_server == server - @primary_server = nil - end - end end module_function :remove_server |