Skip to content

Commit a249e61

Browse files
committed
fix: use the new reset from Lev_fiber
this version makes sure that we wake up the wheel appropriately Signed-off-by: Rudi Grinberg <[email protected]> ps-id: 9F9A1C0B-0F45-43D6-B1F7-A16791244BE7
1 parent 653aada commit a249e61

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 1.10.3
2+
3+
## Fixes
4+
5+
- Fix more debouncing bugs (#629)
6+
17
# 1.10.2
28

39
## Fixes

ocaml-lsp-server/src/ocaml_lsp_server.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ let set_diagnostics rpc doc =
160160
task_if_running state.detached ~f:(fun () ->
161161
let timer = Document.timer doc in
162162
let* () = Lev_fiber.Timer.Wheel.cancel timer in
163-
Lev_fiber.Timer.Wheel.reset timer;
163+
let* () = Lev_fiber.Timer.Wheel.reset timer in
164164
let* res = Lev_fiber.Timer.Wheel.await timer in
165165
match res with
166166
| `Cancelled -> Fiber.return ()

0 commit comments

Comments
 (0)