Skip to content

Commit

Permalink
fix: killing merlin on windows (#1136)
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
  • Loading branch information
rgrinberg committed Jun 12, 2023
1 parent 16c2d41 commit 11cc2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml-lsp-server/src/merlin_config.ml
Expand Up @@ -442,6 +442,6 @@ module DB = struct
let* () = Fiber.return () in
Table.iter t.running ~f:(fun running ->
let pid = Pid.to_int running.process.pid in
Unix.kill pid Sys.sigterm);
Unix.kill pid (if Sys.win32 then Sys.sigkill else Sys.sigterm));
Fiber.Pool.stop t.pool
end

0 comments on commit 11cc2ef

Please sign in to comment.