mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
@@ -87,6 +87,8 @@ namespace UICatalog {
|
||||
scenario.Run ();
|
||||
scenario = GetScenarioToRun ();
|
||||
}
|
||||
if (!_top.Running)
|
||||
Application.Shutdown (true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -118,8 +120,8 @@ namespace UICatalog {
|
||||
}
|
||||
};
|
||||
|
||||
Application.Run (_top, true);
|
||||
Application.Shutdown ();
|
||||
Application.Run (_top, false);
|
||||
Application.Shutdown (false);
|
||||
return _runningScenario;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user