diff options
author | pommicket <pommicket@gmail.com> | 2023-01-08 09:39:39 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-08 09:39:39 -0500 |
commit | 498b670de076909452c0fd6bc4629aca8974d9f7 (patch) | |
tree | 56f773483edd0adf90e0ebedb826e3cd4e51208d /lsp.c | |
parent | 01d5fcc72f6ea29d0f90b845b7565137e7daac14 (diff) |
fix up stuff for when LSP server exits
Diffstat (limited to 'lsp.c')
-rw-r--r-- | lsp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -407,7 +407,6 @@ static bool lsp_send(LSP *lsp) { quit = true; } } - lsp->died = true; free(messages); return quit; @@ -428,6 +427,8 @@ static int lsp_communication_thread(void *data) { break; } + lsp->exited = true; + if (!lsp->process) { // process already exited return 0; |