diff --git a/deepin-devicemanager/src/DeviceManager/DeviceManager.cpp b/deepin-devicemanager/src/DeviceManager/DeviceManager.cpp index 7311a1d7..8af395b0 100644 --- a/deepin-devicemanager/src/DeviceManager/DeviceManager.cpp +++ b/deepin-devicemanager/src/DeviceManager/DeviceManager.cpp @@ -125,6 +125,7 @@ void DeviceManager::clear() m_ListDeviceGPU.clear(); m_ListDeviceMemory.clear(); m_ListDeviceCPU.clear(); + m_DeviceClassMap.clear(); } const QList> &DeviceManager::getDeviceTypes()