• chunhtai's avatar
    SelectionContainer's listeners can remove itself during listener call… (#124624) · cc9ffd3f
    chunhtai authored
    When swapping out delegate of  selectioncontainer, if the newly passed in delegate doesn't have any selectable content(which is usually the case), the selectioncontainerstate will notify all of the listeners. One of the listener would be SelectionRegistrant._updateSelectionRegistrarSubscription, and since it doesn't have content, it would remove itself from the listener which causes concurrent modification
    cc9ffd3f