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
+3 -2
View File
@@ -160,8 +160,10 @@ TeamDebugger::~TeamDebugger()
fTerminating = true;
if (fDebuggerInterface != NULL)
if (fDebuggerInterface != NULL) {
fDebuggerInterface->Close(fKillTeamOnQuit);
fDebuggerInterface->ReleaseReference();
}
if (fWorker != NULL)
fWorker->ShutDown();
@@ -193,7 +195,6 @@ TeamDebugger::~TeamDebugger()
delete fBreakpointManager;
delete fMemoryBlockManager;
delete fDebuggerInterface;
delete fWorker;
delete fTeam;
delete fFileManager;