summaryrefslogtreecommitdiff
path: root/test/drb/ut_drb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/drb/ut_drb.rb')
-rw-r--r--test/drb/ut_drb.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/drb/ut_drb.rb b/test/drb/ut_drb.rb
index da4ca10..c6cc059 100644
--- a/test/drb/ut_drb.rb
+++ b/test/drb/ut_drb.rb
@@ -157,6 +157,7 @@ if __FILE__ == $0
DRb::DRbServer.default_argc_limit(8)
DRb::DRbServer.default_load_limit(4096)
DRb.start_service('druby://localhost:0', DRbEx.new)
- DRb::ExtServ.new(ARGV.shift, ARGV.shift)
+ es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
DRb.thread.join
+ es.stop_service if es.alive?
end