expertiza/expertiza — Issue #156: Zombie teams with no members should be deleted!
Author: efg
Created: 2011-11-29 04:42:26+00:00
State: open

If both members of a team leave it, the team lives on, and can even occupy a slot, if it had the slot when the last member left. In this case, we think, the number of available slots goes negative, but it's not really a bug, because the exra slot is occupied by a zombie team.

When someone leaves a team, the size of the team should be checked, and if it's 0, all the resources (e.g., slots) it holds should be released.