mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 20:44:10 +00:00
90403154a2
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 https://github.com/facebook/react-native/pull/5783 Reviewed By: svcscm Differential Revision: D2911282 Pulled By: foghina fb-gh-sync-id: 34964ec3414af85eb9574bbcef081238fc67ffaf