mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Delete ReactFeatureFlags.enableReactContextCleanupFix
Summary: This diff deletes the flag ReactFeatureFlags.enableReactContextCleanupFix, the flag was disabled for many months, I just disable it. changelog: [internal] internal Reviewed By: genkikondo, makovkastar Differential Revision: D33781628 fbshipit-source-id: 4b5e22adf9d30da5b85bbbde8bdc98d98f5e8891
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9abcea7e11
commit
11b7443afb
@@ -107,9 +107,6 @@ public class NativeModuleRegistry {
|
||||
for (ModuleHolder module : mModules.values()) {
|
||||
module.destroy();
|
||||
}
|
||||
if (ReactFeatureFlags.enableReactContextCleanupFix) {
|
||||
mModules.clear();
|
||||
}
|
||||
} finally {
|
||||
Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user