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 89f59b9047
commit 10a5fb0114
331 changed files with 790 additions and 37 deletions

View File

@@ -182,6 +182,8 @@ RGBController_PowerColorRedDevilV1::RGBController_PowerColorRedDevilV1(PowerColo
RGBController_PowerColorRedDevilV1::~RGBController_PowerColorRedDevilV1()
{
Shutdown();
delete controller;
}

View File

@@ -162,6 +162,8 @@ RGBController_PowerColorRedDevilV2::RGBController_PowerColorRedDevilV2(PowerColo
RGBController_PowerColorRedDevilV2::~RGBController_PowerColorRedDevilV2()
{
Shutdown();
delete controller;
}