aboutsummaryrefslogtreecommitdiffstats
path: root/test/drb/ut_array_drbunix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/drb/ut_array_drbunix.rb')
-rw-r--r--test/drb/ut_array_drbunix.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/drb/ut_array_drbunix.rb b/test/drb/ut_array_drbunix.rb
index 114a79854d..dd397907c7 100644
--- a/test/drb/ut_array_drbunix.rb
+++ b/test/drb/ut_array_drbunix.rb
@@ -9,7 +9,8 @@ if __FILE__ == $0
end
DRb.start_service('drbunix:', [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