Skip to content

Commit 1e48603

Browse files
committed
fixed view leaking and component unmount not called
1 parent e4ff1be commit 1e48603

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ios/RCCViewController.m

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ - (void)commonInit:(RCTRootView*)reactView navigatorStyle:(NSDictionary*)navigat
152152
- (void)dealloc
153153
{
154154
[[NSNotificationCenter defaultCenter] removeObserver:self];
155+
self.view = nil;
155156
}
156157

157158
-(void)onRNReload

0 commit comments

Comments
 (0)