method
shutdown
v2_5_5 -
Show latest stable
- Class:
DRb::DRbServer
shutdown()private
No documentation available.
# File lib/drb/drb.rb, line 1488
def shutdown
current = Thread.current
if @protocol.respond_to? :shutdown
@protocol.shutdown
else
[@thread, *@grp.list].each { |thread|
thread.kill unless thread == current # xxx: Thread#kill
}
end
@thread.join unless @thread == current
end