SERVER-133871ClosedWon't Fix

Windows NamedPipeOutput leaks handle if writer thread creation fails

h2. Problem On Windows, {{NamedPipeOutput}} creates a valid pipe handle in its constructor but its destructor only calls CloseHandle() when the pipe is marked open. If the object is destroyed before open() succeeds, the handle is leaked. There are Windows and POSIX variants of {{NamedPipeOutput}}. Currently this code is only used in JavaScript and C++ tests.   h2. Impact The handle remains open until the shell process exits. h2. Reproduction Context The issue is exposed when cal

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.