Merge PR #254: Delete devices before plugin destruction
This commit is contained in:
commit
ad3290460f
@ -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