Skip to content

Commit

Permalink
Merge pull request cheat-engine#6 from pyj2323/pyj2323-patch-6
Browse files Browse the repository at this point in the history
Update DBKDrvr.c
  • Loading branch information
pyj2323 authored Jun 2, 2021
2 parents f5252c0 + 96a1e19 commit 57a6e90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DBKKernel/DBKDrvr.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,8 @@ NTSTATUS DispatchClose(IN PDEVICE_OBJECT DeviceObject,

void UnloadDriver(PDRIVER_OBJECT DriverObject)
{
cleanupDBVM();

if (!debugger_stopDebugging())
{
DbgPrint("Can not unload the driver because of debugger\n");
Expand Down Expand Up @@ -685,4 +687,4 @@ void UnloadDriver(PDRIVER_OBJECT DriverObject)
DRMHandle = NULL;
}
#endif
}
}

0 comments on commit 57a6e90

Please sign in to comment.