diff --git a/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java b/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java index 66f11b1a873..96dcb33cc18 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java @@ -1103,6 +1103,10 @@ public class SurfaceMountingManager { // Cannot queue event without view state. Do nothing here. return; } + Assertions.assertCondition( + viewState.mEventEmitter == null, + "Only queue pending events when event emitter is null for the given view state"); + if (viewState.mPendingEventQueue == null) { viewState.mPendingEventQueue = new LinkedList<>(); }