Ensure to close pipes when TCPSocket.new finishes processing (#12181)
TCPSocket.new with HEv2 uses three threads.
The last of these threads to exit closed pipes.
However, if pipes were open at the end of the main thread, they would leak.
This change avoids this by closing pipes at the end of the main thread.
Ensure to close pipes when
TCPSocket.new
finishes processing (#12181)TCPSocket.new
with HEv2 uses three threads.The last of these threads to exit closed pipes.
However, if pipes were open at the end of the main thread, they would leak.
This change avoids this by closing pipes at the end of the main thread.