StackTraceView::~StackTraceView() { SetStackTrace(NULL); fFramesTable->SetTableModel(NULL); delete fFramesTableModel; delete fSelectionInfoTable; }
void Thread::SetState(uint32 state, uint32 reason, const BString& info) { if (state == fState) return; fState = state; fStoppedReason = reason; fStoppedReasonInfo = info; // unset CPU state and stack trace, if the thread isn't stopped if (fState != THREAD_STATE_STOPPED) { SetCpuState(NULL); SetStackTrace(NULL); } fTeam->NotifyThreadStateChanged(this); }
~FramesTableModel() { SetStackTrace(NULL); }