mirror of
https://review.haiku-os.org/haiku
synced 2025-01-22 14:24:48 +01:00
cb5d702190
case, not only when we kill the team, i.e. also when the team just died or we handed it over to another debugger. We can do this, since it is also safe to assume that we won't get any further debug messages from the team after a B_DEBUGGER_MESSAGE_TEAM_DELETED or B_DEBUGGER_MESSAGE_HANDED_OVER. We were leaking (well, keeping) the team handler in those cases, which was a problem in the latter one, since we silently ate all debug messages for the team in case it would be re-attached later. Fixes bug #2942. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29300 a95241bf-73f2-0310-859d-f6bbb57e9c96