This avoids leaking PCH files if editors don't use the LSP shutdown protocol.
This is one fix for https://github.com/clangd/clangd/issues/209
(Though I think we should *also* be unlinking the files)
Paths
| Differential D70684
[clangd] Shutdown cleanly on signals. ClosedPublic Authored by sammccall on Nov 25 2019, 10:51 AM.
Details
Summary This avoids leaking PCH files if editors don't use the LSP shutdown protocol. This is one fix for https://github.com/clangd/clangd/issues/209
Diff Detail
Event TimelineComment Actions Build result: fail - 60239 tests passed, 1 failed and 732 were skipped. failed: Clangd.Clangd/exit-signal.test Log files: console-log.txt, CMakeCache.txt This revision is now accepted and ready to land.Nov 26 2019, 12:42 AM Comment Actions Build result: fail - 60239 tests passed, 1 failed and 732 were skipped. failed: Clangd.Clangd/exit-signal.test Log files: console-log.txt, CMakeCache.txt Comment Actions Build result: pass - 60240 tests passed, 0 failed and 732 were skipped. Log files: console-log.txt, CMakeCache.txt Closed by commit rG19ac0eaf07e6: [clangd] Shutdown cleanly on signals. (authored by sammccall). · Explain WhyNov 27 2019, 3:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 231014 clang-tools-extra/clangd/CMakeLists.txt
clang-tools-extra/clangd/JSONTransport.cpp
clang-tools-extra/clangd/Shutdown.h
clang-tools-extra/clangd/Shutdown.cpp
clang-tools-extra/clangd/test/exit-eof.test
clang-tools-extra/clangd/test/exit-signal.test
clang-tools-extra/clangd/tool/ClangdMain.cpp
|