-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clangd does not clean up after itself #266
Comments
I think the root cause might be the same as #278, we don't properly signal a shutdown to the LSP. This doesn't matter for some LSP servers because the analysis is stored in memory, but it does make a difference for clangd |
Bumping this again. |
I was able to replicate this, i'm not entirely sure it's helix fault here. I opened
|
It is not clangd's fault anyway. It only happens with helix, and it still happens 9 out of 10 times when files have errors. I could not replicate it with |
clangd leaves precompiled headers in /tmp after close.
Reproduction steps
Have clangd installed
Open a cpp or c file
Close helix
A
preamble-xxxxxx.pch
is left in /tmpRepeat from first step, and a new pch is created every time.
This could potentially fill up a tmp partition quite fast if you have a project with many headers.
Environment
Arch linux
hx --version: 0.2.0 (no, I'm using 0.2.1)
When vim is closed, clangd does remove it's
pch
files. Maybe clangd is started differently or closed unclean in helix?Great project btw, love it!
The text was updated successfully, but these errors were encountered: