This commit is contained in:
2026-04-13 19:45:58 +01:00
parent 037f884050
commit 013bffcad9
7 changed files with 16 additions and 5 deletions

View File

@@ -208,7 +208,7 @@ struct LSPInstance {
if (pfd.revents & POLLIN) {
json exit_msg = {{"jsonrpc", "2.0"}, {"method", "exit"}};
send_raw(exit_msg);
int waited = 0;
uint32_t waited = 0;
while (waited < timeout) {
int status;
pid_t res = waitpid(pid, &status, WNOHANG);