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
@@ -348,7 +348,7 @@ namespace Artemis.Core.Services
|
||||
// Device providers cannot be disabled at runtime, restart the application
|
||||
if (plugin is DeviceProvider)
|
||||
{
|
||||
CurrentProcessUtilities.RestartSelf();
|
||||
CurrentProcessUtilities.Shutdown(2, true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user