ruby-changes:53028
From: kazu <ko1@a...>
Date: Sat, 20 Oct 2018 21:28:50 +0900 (JST)
Subject: [ruby-changes:53028] kazu:r65242 (trunk): Revert "Reset primary_server when remove_server"
kazu 2018-10-20 21:28:45 +0900 (Sat, 20 Oct 2018) New Revision: 65242 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65242 Log: Revert "Reset primary_server when remove_server" This reverts commit 2948d3bd2e78b5b9110454a7135a81c3fecb2575. Modified files: trunk/lib/drb/drb.rb Index: lib/drb/drb.rb =================================================================== --- lib/drb/drb.rb (revision 65241) +++ lib/drb/drb.rb (revision 65242) @@ -1866,11 +1866,6 @@ module DRb https://github.com/ruby/ruby/blob/trunk/lib/drb/drb.rb#L1866 # 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/