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
.devcontainer
.github
.vscode
bin
doc
lib
scripts
src
tests
.dockerignore -rw-r--r-- 580 bytes
.editorconfig -rw-r--r-- 188 bytes
.eslintignore -rw-r--r-- 638 bytes
.eslintplugin.js -rw-r--r-- 392 bytes
.eslintrc.json -rw-r--r-- 7.4 KB
.gitattributes -rw-r--r-- 42 bytes
.gitignore -rw-r--r-- 2.4 KB
.yarnrc -rw-r--r-- 27 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 333 bytes
CONTRIBUTING.md -rw-r--r-- 15.4 KB
CopyrightNotice.txt -rw-r--r-- 812 bytes
Dockerfile -rw-r--r-- 252 bytes
Gulpfile.mjs -rw-r--r-- 28.8 KB
LICENSE.txt -rw-r--r-- 9.0 KB
README.md -rw-r--r-- 3.1 KB
SECURITY.md -rw-r--r-- 2.7 KB
ThirdPartyNoticeText.txt -rw-r--r-- 36.9 KB
package-lock.json -rw-r--r-- 672.4 KB
package.json -rw-r--r-- 3.8 KB

README.md

back to top