mirror of
https://github.com/donnaskiez/ac.git
synced 2024-11-21 22:24:08 +01:00
fix lock release
This commit is contained in:
parent
c62f9e09ef
commit
d8cffa75da
1 changed files with 1 additions and 4 deletions
|
@ -410,10 +410,7 @@ InsertApcContext(
|
|||
* is attempted to start, ensuring that even if it holds
|
||||
*/
|
||||
if (InterlockedExchange(&driver_config.unload_in_progress, driver_config.unload_in_progress))
|
||||
{
|
||||
status = STATUS_ABANDONED;
|
||||
goto end;
|
||||
}
|
||||
return STATUS_ABANDONED;
|
||||
|
||||
KeAcquireGuardedMutex(&driver_config.lock);
|
||||
|
||||
|
|
Loading…
Reference in a new issue