Don't leak the Team objects for teams that are gone.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30228 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-04-17 11:40:03 +00:00
parent adb0d19d56
commit f568799e1b
1 changed files with 1 additions and 0 deletions

View File

@ -806,6 +806,7 @@ main(int argc, const char* const* argv)
break;
case B_DEBUGGER_MESSAGE_TEAM_DELETED:
// a debugged team is gone -- quit, if it is our team
threadManager.RemoveTeam(message.origin.team);
quitLoop = message.origin.team == teamID;
break;
case B_DEBUGGER_MESSAGE_TEAM_EXEC: