Have dummy controller shut down its background thread immediately during constructor to save resources

This commit is contained in:
Adam Honse
2026-03-26 23:34:33 -05:00
parent 5c112573b9
commit 5dcf44b67a

View File

@@ -34,7 +34,12 @@
RGBController_Dummy::RGBController_Dummy()
{
/*-----------------------------------------------------*\
| Dummy controller doesn't actually use its background |
| thread, so shut it down immediately to save resources |
\*-----------------------------------------------------*/
Shutdown();
AccessMutex.unlock();
}
RGBController_Dummy::~RGBController_Dummy()