Re-added null inst check to avoid EventPropagators bug
Reviewed By: fkgozali Differential Revision: D4787522 fbshipit-source-id: 80eb4da5a6df46a8a7235358c70b2a04e43dc574
This commit is contained in:
parent
f46fd36a44
commit
01215c013d
|
@ -93,7 +93,7 @@ function accumulateTwoPhaseDispatchesSingleSkipTarget(event) {
|
|||
* requiring that the `dispatchMarker` be the same as the dispatched ID.
|
||||
*/
|
||||
function accumulateDispatches(inst, ignoredDirection, event) {
|
||||
if (event && event.dispatchConfig.registrationName) {
|
||||
if (inst && event && event.dispatchConfig.registrationName) {
|
||||
var registrationName = event.dispatchConfig.registrationName;
|
||||
var listener = getListener(inst, registrationName);
|
||||
if (listener) {
|
||||
|
|
Loading…
Reference in New Issue