diff --git a/src/cmd_context/cmd_context.cpp b/src/cmd_context/cmd_context.cpp index baaf483cd..32dd6aee5 100644 --- a/src/cmd_context/cmd_context.cpp +++ b/src/cmd_context/cmd_context.cpp @@ -1827,6 +1827,10 @@ void cmd_context::add_declared_functions(model& mdl) { } void cmd_context::display_sat_result(lbool r) { + if (has_manager() && m().has_trace_stream()) { + m().trace_stream().flush(); + } + switch (r) { case l_true: regular_stream() << "sat" << std::endl;