mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Close leaked TCPServer socket
This commit is contained in:
parent
76386ba1c0
commit
e55bae4a67
Notes:
git
2024-07-17 08:38:15 +00:00
1 changed files with 2 additions and 0 deletions
|
@ -90,10 +90,12 @@ gems:
|
|||
|
||||
if @normal_server
|
||||
@normal_server.kill.join
|
||||
@normal_server[:server].close
|
||||
@normal_server = nil
|
||||
end
|
||||
if @proxy_server
|
||||
@proxy_server.kill.join
|
||||
@proxy_server[:server].close
|
||||
@proxy_server = nil
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue