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
Refactor CFSocket callbacks to call Process.terminateRunLoop()
This fixes a data race between setting `process.isRunning = false`
and then calling `CFRunLoopSourceInvalidate(process.runLoopSource)`.
Process.waitUntilExit() may wake up and clear .runLoopSource which
results in a fairly common crash on Windows.
Put this logic in a common method to reduce drift between the
Darwin / Linux and Windows code paths.
Co-authored-by: Saleem Abdulrasool <[email protected]>
0 commit comments