mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-02 22:41:18 +08:00
Fix ReactInstanceManager unmountApplication
Reviewed By: mdvacca Differential Revision: D7945746 fbshipit-source-id: 0c2eed9a623e442fa4a4ff29ffa01f025466c9b6
This commit is contained in:
committed by
Facebook Github Bot
parent
c6b4f9f2ce
commit
4a9b2a7302
@@ -423,6 +423,7 @@ public class ReactRootView extends SizeMonitoringFrameLayout
|
||||
public void unmountReactApplication() {
|
||||
if (mReactInstanceManager != null && mIsAttachedToInstance) {
|
||||
mReactInstanceManager.detachRootView(this);
|
||||
mReactInstanceManager = null;
|
||||
mIsAttachedToInstance = false;
|
||||
}
|
||||
mShouldLogContentAppeared = false;
|
||||
|
||||
Reference in New Issue
Block a user