- Remove the APC from the list and then set it as not inserted, instead of backwards.

svn path=/trunk/; revision=17407
This commit is contained in:
Alex Ionescu 2005-08-15 22:44:32 +00:00
parent fc21544784
commit 19f76e91c6

View file

@ -674,8 +674,8 @@ KiDeliverApc(KPROCESSOR_MODE DeliveryMode,
}
/* Dequeue the APC */
Apc->Inserted = FALSE;
RemoveEntryList(ApcListEntry);
Apc->Inserted = FALSE;
/* Go back to APC_LEVEL */
KeReleaseSpinLock(&Thread->ApcQueueLock, OldIrql);