cleanup
This commit is contained in:
@@ -23,6 +23,8 @@ bool GetThreadBacktraceContext(uint64_t iID, BacktraceContext *ctx)
|
||||
/* Can't GetThreadBacktraceContext the current thread. */
|
||||
ASSERT(iID != GetCurrentThreadId());
|
||||
|
||||
SuspendThread( iID );
|
||||
|
||||
thread_act_t thread = thread_act_t(iID);
|
||||
ppc_thread_state state;
|
||||
mach_msg_type_number_t count = PPC_THREAD_STATE_COUNT;
|
||||
|
||||
@@ -364,9 +364,6 @@ void ForceCrashHandler( const char *reason )
|
||||
|
||||
void ForceCrashHandlerDeadlock( CString reason, uint64_t iID )
|
||||
{
|
||||
#if defined(DARWIN)
|
||||
SuspendThread(iID);
|
||||
#endif
|
||||
CrashData crash;
|
||||
memset( &crash, 0, sizeof(crash) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user