!593 fix: solve the problem that the host process will crash when the devmgr process exits

Merge pull request !593 from Zhang/master
This commit is contained in:
openharmony_ci
2022-06-06 12:49:04 +00:00
committed by Gitee
-5
View File
@@ -90,11 +90,6 @@ void HdfDriverLoaderFullReclaimDriver(struct HdfDriver *driver)
return;
}
if (driver->priv != NULL) {
dlclose(driver->priv);
driver->priv = NULL;
}
OsalMemFree(driver);
}