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

This commit is contained in:
Adam Honse committed 2026-06-03 10:10:27 -05:00
1 parent a884aca165
commit ee52d2a7b0
1 file changed
+6 -1
+6 -1
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()