Delete devices before plugins when shuttting down
This commit is contained in:
parent
7ead4ba91e
commit
ee30ece5c2
@ -94,6 +94,7 @@ DeviceManagerImplementation::~DeviceManagerImplementation()
|
|||||||
|
|
||||||
foreach (Device *device, m_configuredDevices) {
|
foreach (Device *device, m_configuredDevices) {
|
||||||
storeDeviceStates(device);
|
storeDeviceStates(device);
|
||||||
|
delete device;
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (DevicePlugin *plugin, m_devicePlugins) {
|
foreach (DevicePlugin *plugin, m_devicePlugins) {
|
||||||
|
|||||||
Reference in New Issue
Block a user