aboutsummaryrefslogtreecommitdiffstats
path: root/test/drb/ut_eval.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/drb/ut_eval.rb')
-rw-r--r--test/drb/ut_eval.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/drb/ut_eval.rb b/test/drb/ut_eval.rb
index 8129f90897..1dbf8a5c50 100644
--- a/test/drb/ut_eval.rb
+++ b/test/drb/ut_eval.rb
@@ -26,6 +26,7 @@ if __FILE__ == $0
$SAFE = 1
DRb.start_service('druby://localhost:0', EvalAttack.new, {:safe_level => 2})
- 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