mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Disable non-Fabric view operations after catalyst instance is destroyed
Summary: Changelog: [Internal] Reviewed By: JoshuaGross Differential Revision: D25248836 fbshipit-source-id: 9afb0c18e7825d32857f746b038268758afaaaa8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
959bc47c18
commit
fbf37092a8
@@ -242,6 +242,7 @@ public class UIManagerModule extends ReactContextBaseJavaModule
|
||||
public void onCatalystInstanceDestroy() {
|
||||
super.onCatalystInstanceDestroy();
|
||||
mEventDispatcher.onCatalystInstanceDestroyed();
|
||||
mUIImplementation.onCatalystInstanceDestroyed();
|
||||
|
||||
getReactApplicationContext().unregisterComponentCallbacks(mMemoryTrimCallback);
|
||||
YogaNodePool.get().clear();
|
||||
|
||||
Reference in New Issue
Block a user