File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1415,7 +1415,19 @@ int startGui(int& argc,
14151415 // rethow exception, if one happened after cleanup of main_window
14161416 exception.rethrow ();
14171417
1418- if (interactive && (!gui->isContinueAfterClose () || exit_requested)) {
1418+ debugPrint (open_road->getLogger (),
1419+ utl::GUI ,
1420+ " init" ,
1421+ 1 ,
1422+ " Exit state: interactive ({}), isContinueAfterClose ({}), "
1423+ " exit_requested ({}), exit_code ({})" ,
1424+ interactive,
1425+ gui->isContinueAfterClose (),
1426+ exit_requested,
1427+ exit_code);
1428+
1429+ const bool do_exit = !gui->isContinueAfterClose () && exit_requested;
1430+ if (interactive && do_exit) {
14191431 // if exiting, go ahead and exit with gui return code.
14201432 exit (exit_code);
14211433 }
Original file line number Diff line number Diff line change @@ -1661,7 +1661,7 @@ void RepairChannelStraps::determineParameters(
16611661 utl::PDN ,
16621662 " Channel" ,
16631663 2 ,
1664- " Failed on channel width check, group {:.4f} and channel {.4f}." ,
1664+ " Failed on channel width check, group {:.4f} and channel {: .4f}." ,
16651665 group_width / static_cast <double >(getBlock ()->getDbUnitsPerMicron ()),
16661666 area_width / static_cast <double >(getBlock ()->getDbUnitsPerMicron ()));
16671667 return false ;
You can’t perform that action at this time.
0 commit comments