소스 검색

Clean store on setRoot

yogevbd 6 년 전
부모
커밋
2e08f1a84d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      lib/ios/RNNCommandsHandler.m

+ 1
- 0
lib/ios/RNNCommandsHandler.m 파일 보기

@@ -56,6 +56,7 @@ static NSString* const setDefaultOptions	= @"setDefaultOptions";
56 56
 	[self assertReady];
57 57
 	
58 58
 	[_modalManager dismissAllModalsAnimated:NO];
59
+	[_store removeAllComponents];
59 60
 	
60 61
 	UIViewController *vc = [_controllerFactory createLayoutAndSaveToStore:layout[@"root"]];
61 62