From 98e77912d7cd189606bf667554e41843dd302873 Mon Sep 17 00:00:00 2001 From: zhang Date: Mon, 6 Jun 2022 14:18:40 +0800 Subject: [PATCH] solve the problem that the host process will crash when the devmgr process exits Signed-off-by: zhang --- uhdf2/host/src/driver_loader_full.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/uhdf2/host/src/driver_loader_full.c b/uhdf2/host/src/driver_loader_full.c index 8818730..29f9c04 100644 --- a/uhdf2/host/src/driver_loader_full.c +++ b/uhdf2/host/src/driver_loader_full.c @@ -90,11 +90,6 @@ void HdfDriverLoaderFullReclaimDriver(struct HdfDriver *driver) return; } - if (driver->priv != NULL) { - dlclose(driver->priv); - driver->priv = NULL; - } - OsalMemFree(driver); }