mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-02 07:14:46 -04:00
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:
1 parent
8984a42234
commit
e713300348
332 files changed
+792
-37
No files matched your search
@@ -86,6 +86,8 @@ RGBController_EVGAGPUv1::RGBController_EVGAGPUv1(EVGAGPUv1Controller* controller
|
||||
|
||||
RGBController_EVGAGPUv1::~RGBController_EVGAGPUv1()
|
||||
{
|
||||
Shutdown();
|
||||
|
||||
delete controller;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user