diff options
| author | Misaki Shioi <31817032+shioimm@users.noreply.github.com> | 2024-11-29 18:49:02 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-29 18:49:02 +0900 |
| commit | 49d2e79fb0dd57caed269c67660ff4cc68b3d729 (patch) | |
| tree | 5624faad5d548283996a1d7eb530cde2e1495247 /lib | |
| parent | 22e1a8c478e92fafcb597d74a2d4f08c57f07c4c (diff) | |
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.
Notes
Notes:
Merged-By: shioimm <shioi.mm@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
