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.h | |
parent | 01d5fcc72f6ea29d0f90b845b7565137e7daac14 (diff) |
fix up stuff for when LSP server exits
Diffstat (limited to 'lsp.h')
-rw-r--r-- | lsp.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -559,8 +559,8 @@ typedef struct LSP { // (when the initialize response is received) _Atomic bool initialized; // has the LSP server exited? - // thread-safety: only set to false once when the process dies - _Atomic bool died; + // thread-safety: atomic + _Atomic bool exited; // thread-safety: only set once in lsp_create. char *command; // this is set in lsp_create, then later set to NULL when we send over the configuration (after the initialized notification). |