dunnart icon indicating copy to clipboard operation
dunnart copied to clipboard

Router assertion often false, during object deletion (at least through GUI, perhaps also programmatically)

Open skieffer opened this issue 12 years ago • 0 comments

The assertion comes at the beginning of the Router::deleteShape(ShapeRef *shape) method:

void Router::deleteShape(ShapeRef *shape) { // There shouldn't be add events events for the same shape already // in the action list. // XXX: Possibly we could handle this by ordering them intelligently. COLA_ASSERT(find(actionList.begin(), actionList.end(), ActionInfo(ShapeAdd, shape)) == actionList.end());

skieffer avatar Dec 17 '12 20:12 skieffer