mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Stop DRb service.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
be4b37dfae
commit
fcdec9bfbb
1 changed files with 1 additions and 0 deletions
|
@ -525,6 +525,7 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
|
|||
assert_equal([[:test_take, 42]], @ts_base.read_all([:test_take, nil]),
|
||||
'[bug:8215] tuple lost')
|
||||
ensure
|
||||
service.stop_service if service
|
||||
signal = /mswin|mingw/ =~ RUBY_PLATFORM ? "KILL" : "TERM"
|
||||
Process.kill(signal, write) if write && status.nil?
|
||||
Process.kill(signal, take) if take
|
||||
|
|
Loading…
Reference in a new issue