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

This commit is contained in:
Maria Solano
2025-11-05 13:39:02 -08:00
committed by GitHub
parent 17bcf86cab
commit 0472119fe6

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