Skip to content

Commit

Permalink
fix: broken debouncing
Browse files Browse the repository at this point in the history
ps-id: 633D40D0-FB6D-4307-A570-E16F732E69EB
  • Loading branch information
rgrinberg committed Feb 18, 2022
1 parent 36de1b2 commit 7866010
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# 1.10.2
# 1.10.2 (unreleased)

## Fixes

- Catch merlin desturct exceptions (#626)
- Fix broken debouncing (#627)

# 1.10.1

Expand Down
1 change: 1 addition & 0 deletions ocaml-lsp-server/src/ocaml_lsp_server.ml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ let set_diagnostics rpc doc =
let+ () =
task_if_running state.detached ~f:(fun () ->
let timer = Document.timer doc in
let* () = Lev_fiber.Timer.Wheel.cancel timer in
Lev_fiber.Timer.Wheel.reset timer;
let* res = Lev_fiber.Timer.Wheel.await timer in
match res with
Expand Down
2 changes: 1 addition & 1 deletion submodules/lev

0 comments on commit 7866010

Please sign in to comment.