Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Snapshot the Set of listeners when dispatching a BackAndroid event
Summary: …while an event is dispatched While it is guarded, a copy of the Set is created before listeners are added or removed. The event dispatch loop continues with the old Set of listeners. This PR modifies `BackAndroid` to match the proposal at the end of #5781. Closes #5783 Reviewed By: svcscm Differential Revision: D2911282 Pulled By: foghina fb-gh-sync-id: 34964ec3414af85eb9574bbcef081238fc67ffaf
- Loading branch information