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 committed 2026-05-07 17:24:45 -05:00
1 parent d05fe1bdf1
commit 70f79e97b4
332 files changed
+792 -37

No files matched your search

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