summaryrefslogtreecommitdiff
path: root/test/drb/ut_array.rb
diff options
context:
space:
mode:
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