https://github.com/Microsoft/TypeScript
Revision 9c87ded2b3fc4ba4a9a7656e9be39d5e404e6ab6 authored by Rafał Chłodnicki on 10 October 2022, 19:03:15 UTC, committed by GitHub on 10 October 2022, 19:03:15 UTC
* fix(51100): ensure tsserver shuts down when parent process is killed

When using IPC channel (`--useNodeIpc`) for communicating with tsserver,
the child tsserver process did not shut down on parent process disconnecting
(for example due to it being killed).

Call exit() on IPC disconnect, same as stdio-based communication did
when pipe to parent process was destroyed.

* don't duplicate inherited method
1 parent c01ae01
History
Tip revision: 9c87ded2b3fc4ba4a9a7656e9be39d5e404e6ab6 authored by Rafał Chłodnicki on 10 October 2022, 19:03:15 UTC
fix(51100): ensure tsserver shuts down when parent process is killed (#51107)
Tip revision: 9c87ded
File Mode Size
tsc -rwxr-xr-x 45 bytes
tsserver -rwxr-xr-x 50 bytes

back to top