1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_gem_remote_fetcher.rb: terminate watcher

* test/rubygems/test_gem_remote_fetcher.rb (stop_servers):
  terminate timeout watcher thread to fix thread leak.  re-apply
  r53439.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-02-08 05:09:49 +00:00
parent 584f9e51d6
commit d475347990

View file

@ -924,6 +924,8 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
@ssl_server_thread.kill.join
@ssl_server_thread = nil
end
timeout = WEBrick::Utils::TimeoutHandler
timeout.terminate if defined?(timeout.terminate)
end
def normal_server_port