mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
UI - Added --disable-forced-shutdown which does just that
UI - Don't kill new instances of Artemis launched within 8 seconds after shutdown UI - Updated About tab
This commit is contained in:
1 parent
a6602626a3
commit
87dce788d7
12 files changed
+586
-187
No files matched your search
@@ -67,9 +67,12 @@ namespace Artemis.Core.Services
|
||||
foreach (ProfileModule profileModule in profileModules)
|
||||
{
|
||||
// Avoid race condition, make the check here
|
||||
if (profileModule.ActiveProfile != null)
|
||||
if (profileModule.ActiveProfile == null)
|
||||
continue;
|
||||
|
||||
profileModule.ActiveProfile.PopulateLeds(_rgbService.EnabledDevices);
|
||||
if (profileModule.ActiveProfile.IsFreshImport)
|
||||
{
|
||||
profileModule.ActiveProfile.PopulateLeds(_rgbService.EnabledDevices);
|
||||
_logger.Debug("Profile is a fresh import, adapting to surface - {profile}", profileModule.ActiveProfile);
|
||||
AdaptProfile(profileModule.ActiveProfile);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user