Use a blocking connection when updating the device list to prevent accessing deleted controllers

This commit is contained in:
Adam Honse
2026-07-14 21:45:18 -05:00
parent d9b0995b44
commit cf383cacdd
+1 -1
View File
@@ -106,7 +106,7 @@ static void OpenRGBDialogResourceManagerCallback(void * this_ptr, unsigned int u
break;
case RESOURCEMANAGER_UPDATE_REASON_DEVICE_LIST_UPDATED:
QMetaObject::invokeMethod(this_obj, "onDeviceListUpdated", Qt::QueuedConnection);
QMetaObject::invokeMethod(this_obj, "onDeviceListUpdated", Qt::BlockingQueuedConnection);
break;
}
}