1
0
Fork 0

Remove note about deleting callback tokens, It's done for all stale callbacks.

This commit is contained in:
Kevin Matz 2022-11-20 15:16:12 -05:00
parent 1ad91bdefe
commit 3672b1d49f
1 changed files with 1 additions and 5 deletions

View File

@ -119,9 +119,6 @@ void ArbitratingUniverse::deleteSourceUniverse(const DATA::data_header& src)
{
if (!hasSourceUniverse(src))
return;
/// \todo also erase token for data change callbacks
sources_.erase(src);
doListChangeCallbacks();
}
@ -171,9 +168,8 @@ void ArbitratingUniverse::doListChangeCallbacks()
++it;
}
else
{ // or remove the callback
// or remove the callback
it = cb_sourceListChange.erase(it);
}
}
}