summaryrefslogtreecommitdiff
path: root/lib/drb/unix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/drb/unix.rb')
-rw-r--r--lib/drb/unix.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/drb/unix.rb b/lib/drb/unix.rb
index adc38ff591..7dcf2daaf8 100644
--- a/lib/drb/unix.rb
+++ b/lib/drb/unix.rb
@@ -95,6 +95,7 @@ module DRb
public
def close
return unless @socket
+ shutdown # DRbProtocol#shutdown
path = @socket.path if @server_mode
@socket.close
File.unlink(path) if @server_mode