found that list corruption bug. it was also resulting in a meory spray

svn path=/trunk/; revision=881
This commit is contained in:
Phillip Susi 1999-12-16 22:59:03 +00:00
parent 96aed594a2
commit 98a6084104

View file

@ -1,4 +1,4 @@
/* $Id: thread.c,v 1.41 1999/12/14 00:54:29 phreak Exp $
/* $Id: thread.c,v 1.42 1999/12/16 22:59:03 phreak Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -161,7 +161,6 @@ VOID PsReapThreads(VOID)
if (current->Tcb.State == THREAD_STATE_TERMINATED_1)
{
RemoveEntryList(&current->Tcb.ThreadListEntry);
DPRINT("Reaping thread %x\n", current);
current->Tcb.State = THREAD_STATE_TERMINATED_2;
KeReleaseSpinLock(&PiThreadListLock, oldIrql);