mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 20:50:29 +00:00
[AVRF] Suppress notifications for providers
This commit is contained in:
parent
08d575adf9
commit
0b8acaac31
1 changed files with 2 additions and 2 deletions
|
@ -333,7 +333,7 @@ AVrfDllUnloadNotification(IN PLDR_DATA_TABLE_ENTRY LdrEntry)
|
|||
{
|
||||
PLIST_ENTRY Entry;
|
||||
|
||||
if (!(NtCurrentPeb()->NtGlobalFlag & FLG_APPLICATION_VERIFIER))
|
||||
if (!(NtCurrentPeb()->NtGlobalFlag & FLG_APPLICATION_VERIFIER) || !AVrfpInitialized)
|
||||
return;
|
||||
|
||||
RtlEnterCriticalSection(&AVrfpVerifierLock);
|
||||
|
@ -365,7 +365,7 @@ AVrfInternalHeapFreeNotification(PVOID AllocationBase, SIZE_T AllocationSize)
|
|||
{
|
||||
PLIST_ENTRY Entry;
|
||||
|
||||
if (!(NtCurrentPeb()->NtGlobalFlag & FLG_APPLICATION_VERIFIER))
|
||||
if (!(NtCurrentPeb()->NtGlobalFlag & FLG_APPLICATION_VERIFIER) || !AVrfpInitialized)
|
||||
return;
|
||||
|
||||
RtlEnterCriticalSection(&AVrfpVerifierLock);
|
||||
|
|
Loading…
Reference in a new issue