diff --git a/src/Ryujinx/AppHost.cs b/src/Ryujinx/AppHost.cs index cb8f1a2b2..f33b69139 100644 --- a/src/Ryujinx/AppHost.cs +++ b/src/Ryujinx/AppHost.cs @@ -1008,6 +1008,10 @@ namespace Ryujinx.Ava { Console.WriteLine("quitting"); Console.WriteLine("still quitting"); + if (Application.Current.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime app) + { + app.MainWindow.Close(); + } } else {