Skip to content

Commit

Permalink
fix: kill dune ocaml-merlin in a friendlier way
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>

<!-- ps-id: d1282157-d8a9-41b4-93c2-572b4f2be978 -->
  • Loading branch information
rgrinberg committed Jun 8, 2023
1 parent 73678a6 commit bf3d1ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml-lsp-server/src/merlin_config.ml
Original file line number Diff line number Diff line change
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.sigkill);
Unix.kill pid Sys.sigterm);
Fiber.Pool.stop t.pool
end

0 comments on commit bf3d1ae

Please sign in to comment.