Commit 8e5b64ae authored by unknown's avatar unknown
Browse files

Stop all timers before exiting when --start-and-exit

parent b860c4db
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2913,6 +2913,7 @@ sub run_testcase ($) {
  # ----------------------------------------------------------------------
  if ( $opt_start_and_exit or $opt_start_dirty )
  {
    mtr_timer_stop_all($glob_timers);
    mtr_report("\nServers started, exiting");
    exit(0);
  }