1
0
mirror of https://github.com/winfsp/winfsp.git synced 2025-10-29 11:08:37 -05:00
This commit is contained in:
Bill Zissimopoulos
2015-11-16 22:40:02 -08:00
parent d7c43c2f30
commit ec59ee43b9

View File

@@ -109,7 +109,11 @@ FspUnload(
PAGED_CODE(); PAGED_CODE();
if (0 != FspDeviceObject) if (0 != FspDeviceObject)
{
IoUnregisterFileSystem(FspDeviceObject);
IoDeleteDevice(FspDeviceObject); IoDeleteDevice(FspDeviceObject);
FspDeviceObject = 0;
}
} }
PDEVICE_OBJECT FspDeviceObject; PDEVICE_OBJECT FspDeviceObject;