Skip to content

Commit

Permalink
Remove unnecessary clearing of statusline
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 6, 2020
1 parent 70c7c7e commit a8575a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dune_engine/scheduler.ml
Original file line number Diff line number Diff line change
Expand Up @@ -702,11 +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); (* Is this line necessary? *)
match Fiber.run fiber ~iter with
| res ->
Console.Status_line.set (Fun.const None);
assert (Event.pending_jobs () = 0);
Console.Status_line.set (Fun.const None);
Ok res
| exception Abort err -> Error err
| exception exn -> Error (Exn (Exn_with_backtrace.capture exn))
Expand Down

0 comments on commit a8575a5

Please sign in to comment.