mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-04 14:14:17 -04:00
Call the callbacks when redetection starts, move matrix map deletion to individual controllers to avoid attempting to delete const pointers
This commit is contained in:
@@ -196,8 +196,14 @@ void ResourceManager::DetectDevices()
|
||||
| we shall remove it first |
|
||||
\*-------------------------------------------------*/
|
||||
detection_percent = 0;
|
||||
detection_string = "";
|
||||
|
||||
DetectionProgressChanged();
|
||||
|
||||
Cleanup();
|
||||
|
||||
DeviceListChanged();
|
||||
|
||||
/*-------------------------------------------------*\
|
||||
| Start the device detection thread |
|
||||
\*-------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user