summaryrefslogtreecommitdiff
path: root/test/drb/ut_array.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_array.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_array.rb')
-rw-r--r--test/drb/ut_array.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/drb/ut_array.rb b/test/drb/ut_array.rb
index e9b0f1a2fa..01599f1d89 100644
--- a/test/drb/ut_array.rb
+++ b/test/drb/ut_array.rb
@@ -9,7 +9,8 @@ if __FILE__ == $0
end
DRb.start_service('druby://localhost:0', [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