|
@@ -14,7 +14,7 @@
|
14
|
14
|
@property (nonatomic) BOOL _statusBarHidden;
|
15
|
15
|
@property (nonatomic) BOOL isExternalComponent;
|
16
|
16
|
@property (nonatomic) BOOL _optionsApplied;
|
17
|
|
-@property (nonatomic, weak) void (^rotationBlock)(void);
|
|
17
|
+@property (nonatomic, copy) void (^rotationBlock)(void);
|
18
|
18
|
@end
|
19
|
19
|
|
20
|
20
|
@implementation RNNRootViewController
|
|
@@ -68,6 +68,7 @@
|
68
|
68
|
-(void)viewDidDisappear:(BOOL)animated {
|
69
|
69
|
[super viewDidDisappear:animated];
|
70
|
70
|
[self.eventEmitter sendComponentDidDisappear:self.componentId componentName:self.componentName];
|
|
71
|
+ _rotationBlock = nil;
|
71
|
72
|
}
|
72
|
73
|
|
73
|
74
|
- (void)viewDidLoad {
|