UI - Ensure proper restart and shutdown

This commit is contained in:
SpoinkyNL committed 2020-03-03 20:00:21 +01:00
1 parent 16af36bc57
commit 0ebf24c51b
3 files changed
+16 -7

No files matched your search

+2 -1
View File
@@ -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()