mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NTDLL/LDR]
- Mark module entries as "load in progress" when pinning them. CORE-7819 #comment Committed, as a lot of applications rely on this. Feel free to revert if you feel the change is not correct. svn path=/trunk/; revision=64237
This commit is contained in:
parent
f85261888e
commit
adb18fba08
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ LdrpUpdateLoadCount3(IN PLDR_DATA_TABLE_ENTRY LdrEntry,
|
|||
ULONG i;
|
||||
|
||||
/* Check the action we need to perform */
|
||||
if (Flags == LDRP_UPDATE_REFCOUNT)
|
||||
if ((Flags == LDRP_UPDATE_REFCOUNT) || (Flags == LDRP_UPDATE_PIN))
|
||||
{
|
||||
/* Make sure entry is not being loaded already */
|
||||
if (LdrEntry->Flags & LDRP_LOAD_IN_PROGRESS)
|
||||
|
|
Loading…
Reference in a new issue