Skip to content

Commit 12145ff

Browse files
committed
Fix to not forget to avoid threads on retry, sigh.
1 parent 14c213c commit 12145ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/lib/test_scheduler/test_scheduler.ocaml5.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ let rec run_fiber ?(max_domains = 1) ?(allow_lwt = true)
7979
Some
8080
(fun () -> Picos_mux_thread.run_fiber ?fatal_exn_handler fiber main)
8181
with
82-
| None -> run_fiber ~max_domains ~allow_lwt ?fatal_exn_handler fiber main
82+
| None ->
83+
run_fiber ~max_domains ~allow_lwt ~avoid_threads ?fatal_exn_handler fiber
84+
main
8385
| Some run -> begin
8486
try run ()
8587
with exn ->

0 commit comments

Comments
 (0)