mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 14:09:10 +00:00
- Don't dereference a thread when we are supposed to reference it. Now WinDBG can attach to a process, but we crash in CM due to a unhandled failure case.
svn path=/trunk/; revision=36238
This commit is contained in:
parent
039d340316
commit
d896822e7b
|
@ -722,7 +722,7 @@ DbgkpPostFakeThreadMessages(IN PEPROCESS Process,
|
|||
IsFirstThread = FALSE;
|
||||
|
||||
/* Reference this thread and set it as first */
|
||||
ObDereferenceObject(ThisThread);
|
||||
ObReferenceObject(ThisThread);
|
||||
pFirstThread = ThisThread;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue