updateComponentList method
void
updateComponentList()
Call this on your update method.
This method effectuates any pending operations of insertion or removal, and thus actually modifies the components set. Note: do not call this while iterating the set.
Implementation
void updateComponentList() {
_actuallyUpdatePriorities();
}