mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
Fix inverted logic in suspending process. Now this is symmetric with the
corresponding thaw. svn path=/trunk/; revision=28963
This commit is contained in:
parent
4c4c882824
commit
8be848bceb
|
@ -61,7 +61,7 @@ DbgkpSuspendProcess(VOID)
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
|
|
||||||
/* Make sure this isn't a deleted process */
|
/* Make sure this isn't a deleted process */
|
||||||
if (PsGetCurrentProcess()->ProcessDelete)
|
if (!PsGetCurrentProcess()->ProcessDelete)
|
||||||
{
|
{
|
||||||
/* Freeze all the threads */
|
/* Freeze all the threads */
|
||||||
KeFreezeAllThreads();
|
KeFreezeAllThreads();
|
||||||
|
|
Loading…
Reference in a new issue