mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-02 22:41:18 +08: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