mirror of
https://github.com/reactos/reactos.git
synced 2026-07-07 01:44:20 +08: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:
@@ -722,7 +722,7 @@ DbgkpPostFakeThreadMessages(IN PEPROCESS Process,
|
||||
IsFirstThread = FALSE;
|
||||
|
||||
/* Reference this thread and set it as first */
|
||||
ObDereferenceObject(ThisThread);
|
||||
ObReferenceObject(ThisThread);
|
||||
pFirstThread = ThisThread;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user