2
0
forked from Ivasoft/DSView

make zip file in memory, function update

This commit is contained in:
dreamsourcelabTAI
2021-11-30 14:17:47 +08:00
parent f6ca1f6ed8
commit 82da3a6acd
19 changed files with 333 additions and 250 deletions

View File

@@ -102,8 +102,7 @@ void DeviceManager::driver_scan(
// list. They will not be valid after the scan.
auto i = _devices.begin();
while (i != _devices.end()) {
if ((*i)->dev_inst() &&
(*i)->dev_inst()->driver == driver) {
if ((*i)->dev_inst() && (*i)->dev_inst()->driver == driver) {
(*i)->release();
i = _devices.erase(i);
} else {