Skip to content

Commit

Permalink
优化rn代理机制+
Browse files Browse the repository at this point in the history
  • Loading branch information
smartzhao committed Apr 17, 2018
1 parent c2405eb commit 1e9b4a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ public void onDestroy() {
ViewGroup parent;
if (mReactRootView != null) {
parent = (ViewGroup) mReactRootView.getParent();
if (parent != null) {
/* if (parent != null) {
parent.removeView(mReactRootView);
}
}*/
mReactRootView.unmountReactApplication();
mReactRootView = null;
}
Expand Down

0 comments on commit 1e9b4a8

Please sign in to comment.