Fabian Eichinger 90403154a2 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 https://github.com/facebook/react-native/pull/5783

Reviewed By: svcscm

Differential Revision: D2911282

Pulled By: foghina

fb-gh-sync-id: 34964ec3414af85eb9574bbcef081238fc67ffaf
2016-02-08 03:23:35 -08:00
..
2015-07-24 08:41:58 -08:00
2016-02-01 17:13:35 -08:00
2016-01-30 17:11:28 -08:00
2016-01-08 15:42:32 -08:00
2016-02-07 07:13:32 -08:00
2016-02-05 14:26:35 -08:00
2016-01-26 14:34:31 -08:00
2016-02-05 14:26:35 -08:00
2016-02-05 16:45:46 -08:00
2016-01-29 09:13:32 -08:00
2015-07-24 08:41:58 -08:00
2016-02-05 15:17:33 -08:00