diff --git a/src/bin/debug/profile/profile.cpp b/src/bin/debug/profile/profile.cpp index 3cf5678064..255469fec8 100644 --- a/src/bin/debug/profile/profile.cpp +++ b/src/bin/debug/profile/profile.cpp @@ -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: