Skip to content

Commit

Permalink
Fix issue #3737
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-j-hu committed Sep 5, 2020
1 parent 739e31a commit ef9493f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dune_engine/scheduler.ml
Original file line number Diff line number Diff line change
Expand Up @@ -702,9 +702,10 @@ end = struct
let fiber =
Fiber.Var.set t_var t (fun () -> Fiber.with_error_handler f ~on_error)
in
Console.Status_line.set (Fun.const None);
Console.Status_line.set (Fun.const None); (* Is this line necessary? *)
match Fiber.run fiber ~iter with
| res ->
Console.Status_line.set (Fun.const None);
assert (Event.pending_jobs () = 0);
Ok res
| exception Abort err -> Error err
Expand Down

0 comments on commit ef9493f

Please sign in to comment.