Minor
[BUG #8772] Make sure a remove of a listener while emitting does not change the emit order