Project

General

Profile

« Previous | Next » 

Revision 49d2e79f

Added by Misaki Shioi 6 months ago

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.