summaryrefslogtreecommitdiff
path: root/test/drb/ut_port.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/drb/ut_port.rb')
-rw-r--r--test/drb/ut_port.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/drb/ut_port.rb b/test/drb/ut_port.rb
index 029960c5f86..3009db5acdd 100644
--- a/test/drb/ut_port.rb
+++ b/test/drb/ut_port.rb
@@ -9,6 +9,7 @@ if __FILE__ == $0
end
DRb.start_service('druby://:8473', [1, 2, 'III', 4, "five", 6])
- 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