mirror of
https://github.com/status-im/react-native.git
synced 2025-02-23 14:48:25 +00:00
Summary: This diff implements a new model of managing `enabled` flag in EventEmitter. Now we simply rely on `eventTarget_` is not being `nullptr` (and we reset the pointer to "disable" the event emitter). Reviewed By: mdvacca Differential Revision: D9764857 fbshipit-source-id: 1dd3ce0c8589048babbf2dbac9f8359358b31a34