Move RGBController base destructor functionality into RGBController::Shutdown() so that update thread can be stopped before deleting the controller. Shutdown() must be called in every RGBController implementation before deleting the controller. Also some fixes to the NetworkServer to avoid deadlocking and disconnect issues

This commit is contained in:
Adam Honse
2026-02-02 17:10:37 -06:00
parent d05fe1bdf1
commit 70f79e97b4
332 changed files with 792 additions and 37 deletions

View File

@@ -49,6 +49,13 @@ RGBController_LogitechG560::RGBController_LogitechG560(LogitechG560Controller* c
SetupZones();
}
RGBController_LogitechG560::~RGBController_LogitechG560()
{
Shutdown();
delete controller;
}
void RGBController_LogitechG560::SetupZones()
{
zone G560_left_front;