You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix waitForProcess not closing the handle when raising delegated Ctrl-C
endDelegateControlC throws UserInterrupt, which would cause
modifyProcessHandle to roll back, leaving the handle open
despite the waitpid call.
Instead, we postpone the call to endDelegateControlC, as is already
the case in getProcessExitCode.
Additionally, remove endDelegateControlC entirely from the Windows-only
OpenExtHandle branch, where it's a no-op and was also in the wrong place.
0 commit comments