diff options
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; |