diff --git a/src/dune_engine/scheduler.ml b/src/dune_engine/scheduler.ml index 8e50b362f656..00da5537eaa5 100644 --- a/src/dune_engine/scheduler.ml +++ b/src/dune_engine/scheduler.ml @@ -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