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:
Adam Honse
2020-09-28 23:22:01 -05:00
parent 4f43e85139
commit 8ead2f9c73
19 changed files with 171 additions and 56 deletions

View File

@@ -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 |
\*-------------------------------------------------*/