diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/EventDispatcher.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/EventDispatcher.java index 590cf56d667f31..8bf009a9e830d4 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/EventDispatcher.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/EventDispatcher.java @@ -95,7 +95,7 @@ public int compare(Event lhs, Event rhs) { private Event[] mEventsToDispatch = new Event[16]; private int mEventsToDispatchSize = 0; - private @Nullable RCTEventEmitter mRCTEventEmitter; + private volatile @Nullable RCTEventEmitter mRCTEventEmitter; private final ScheduleDispatchFrameCallback mCurrentFrameCallback; private short mNextEventTypeId = 0; private volatile boolean mHasDispatchScheduled = false;