summaryrefslogtreecommitdiff
path: root/test/drb/ut_port.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-07 01:54:40 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-07 01:54:40 +0000
commitbb6a76f9999a851adb721c8f32a216c192557ac3 (patch)
treef708b96d78b602b6722eabbfe24dbb835ef29c83 /test/drb/ut_port.rb
parent38b57c2915035105c92fcc46bf212125ac421e48 (diff)
explicitly stop DRb::ExtServ
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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