Now that DebuggerInterface is BReferenceable, all of these need to be correctly

acquiring/releasing refs to it as well. Thanks Ingo.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42362 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent
2011-07-02 02:01:02 +00:00
parent e466360263
commit f4e0b8d03a
5 changed files with 12 additions and 2 deletions
+2
View File
@@ -54,12 +54,14 @@ ThreadHandler::ThreadHandler(Thread* thread, Worker* worker,
fPreviousInstructionPointer(0),
fSingleStepping(false)
{
fDebuggerInterface->AcquireReference();
}
ThreadHandler::~ThreadHandler()
{
_ClearContinuationState();
fDebuggerInterface->ReleaseReference();
}