DEV on exist only store to database when DDF is enabled
@@ -16996,6 +16996,8 @@ void DeRestPlugin::appAboutToQuit()
d->openDb();
d->saveDb();
+ if (DEV_TestManaged())
+ {
for (const auto &dev : d->m_devices)
{
for (const auto *sub : dev->subDevices())
@@ -17003,6 +17005,7 @@ void DeRestPlugin::appAboutToQuit()
DB_StoreSubDeviceItems(sub);
}
}
+ }
d->ttlDataBaseConnection = 0;
d->closeDb();
