-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Each process now gets an IPC handle that takes ownership of the ipc socket and tracks the queue and any associated callbacks. This gets passed around to make sure that we're always operating on the right socket and the right received data, rather than potentially crossing wires if some packets were still in the queue from a process that's since disappeared. This fixes an issue seen in the tty tests where we end up closing the socket out from underneath the next process because another process has been spawned before our current process is GC'd. Signed-off-by: Kyle Evans <[email protected]> (cherry picked from commit c06977b)
- Loading branch information
Showing
5 changed files
with
182 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.