mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
UI - Ensure proper restart and shutdown
This commit is contained in:
1 parent
c62997ca41
commit
002ae29638
3 files changed
+16
-7
No files matched your search
@@ -1,6 +1,7 @@
|
||||
using System.Windows;
|
||||
using Artemis.Core.Services;
|
||||
using Artemis.Core.Services.Interfaces;
|
||||
using Artemis.Core.Utilities;
|
||||
using Artemis.UI.Events;
|
||||
using Artemis.UI.Screens.Splash;
|
||||
using Ninject;
|
||||
@@ -57,7 +58,7 @@ namespace Artemis.UI.Screens
|
||||
|
||||
public void TrayExit()
|
||||
{
|
||||
Application.Current.Shutdown();
|
||||
CurrentProcessUtilities.Shutdown(2, false);
|
||||
}
|
||||
|
||||
private void ShowSplashScreen()
|
||||
|
||||
Reference in new issue
Block a user