mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/test/unit.rb: Avoid zombie processes on "--separate" option
added at r34121. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7a9b2cad17
commit
48053fe615
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Dec 26 13:06:52 2011 Shota Fukumori <sorah@tubusu.net>
|
||||||
|
|
||||||
|
* lib/test/unit.rb: Avoid zombie processes on "--separate" option
|
||||||
|
added at r34121.
|
||||||
|
|
||||||
Mon Dec 26 04:01:23 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
|
Mon Dec 26 04:01:23 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
|
||||||
|
|
||||||
* ext/openssl/ossl_cipher.c: Update and complete documentation.
|
* ext/openssl/ossl_cipher.c: Update and complete documentation.
|
||||||
|
|
|
@ -293,7 +293,9 @@ module Test
|
||||||
end
|
end
|
||||||
|
|
||||||
def close
|
def close
|
||||||
@io.close
|
begin
|
||||||
|
@io.close if @io.closed?
|
||||||
|
rescue IOError; end
|
||||||
self
|
self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -301,6 +303,7 @@ module Test
|
||||||
return if @io.closed?
|
return if @io.closed?
|
||||||
@quit_called = true
|
@quit_called = true
|
||||||
@io.puts "quit"
|
@io.puts "quit"
|
||||||
|
@io.close
|
||||||
end
|
end
|
||||||
|
|
||||||
def died(*additional)
|
def died(*additional)
|
||||||
|
|
Loading…
Reference in a new issue