No need to stop APC when looping.

svn path=/trunk/; revision=29401
This commit is contained in:
James Tabor 2007-10-05 18:16:34 +00:00
parent 8206cd0b71
commit bd65efd9de

View file

@ -741,12 +741,10 @@ DceFreeWindowDCE(PWINDOW_OBJECT Window)
VOID FASTCALL VOID FASTCALL
DceEmptyCache() DceEmptyCache()
{ {
KeEnterCriticalRegion();
while (FirstDce != NULL) while (FirstDce != NULL)
{ {
FirstDce = DceFreeDCE(FirstDce, TRUE); FirstDce = DceFreeDCE(FirstDce, TRUE);
} }
KeLeaveCriticalRegion();
} }
VOID FASTCALL VOID FASTCALL