Skip to content

Commit

Permalink
Fix issue #3737
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Hu <hu.ala@northeastern.edu>
  • Loading branch information
alan-j-hu committed Sep 5, 2020
1 parent 739e31a commit 70c7c7e
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 70c7c7e

Please sign in to comment.