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:
parent
adb0d19d56
commit
f568799e1b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue