fix(lsp): don't immediately force shutdown when using a timeout (#36455)

This commit is contained in:
Maria Solano authored and GitHub committed 2025-11-05 16:39:02 -05:00
1 parent 17bcf86cab
commit 0472119fe6
1 file changed
+1 -1
+1 -1
View File
@@ -888,7 +888,7 @@ function Client:stop(force)
lsp._watchfiles.cancel(self.id)
if force or not self.initialized or self._graceful_shutdown_failed then
if force == true or not self.initialized or self._graceful_shutdown_failed then
rpc.terminate()
return
end