Daniel Zlotin 6 years ago
parent
commit
945c03df0e
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      lib/ios/RNNEventEmitter.m

+ 3
- 0
lib/ios/RNNEventEmitter.m View File

@@ -52,6 +52,9 @@ static NSString* const onNavigationButtonPressed	= @"RNN.navigationButtonPressed
52 52
 # pragma mark private
53 53
 
54 54
 -(void)send:(NSString *)eventName body:(id)body {
55
+    if ([eventName isEqualToString:componentDidDisappear] && self.bridge == nil) {
56
+        return;
57
+    }
55 58
 	[self sendEventWithName:eventName body:body];
56 59
 }
57 60