This commit is contained in:
2025-07-23 15:21:13 +08:00
parent 3dc024d94f
commit 5ab94042d9
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -27,11 +27,11 @@ namespace Sample.Disp
/// <param name="displayee">The object that implements IDisplayee to be rendered</param>
public static void RunApplication(string title, IDisplayee displayee)
{
SingleUserApp.AppBegin();
LocalApp.AppBegin();
Application app = new Application();
app.Exit += (o, e) =>
{
SingleUserApp.AppEnd();
LocalApp.AppEnd();
};
app.Run(new RenderingWindow()
{