mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 01:40:08 +00:00
Fix setupReactContext systrace
Summary: setupReactContext wasn't ending because D9664719 added incorrect end markers. Need to use either Systrace.endSection() or SystraceMessage.endSection().flush(). Differential Revision: D9695854 fbshipit-source-id: e0f7d492bc58536ce242962438edac7eec671867
This commit is contained in:
parent
c3e42b5531
commit
f38ab24a19
@ -219,7 +219,7 @@ public class UIManagerModule extends ReactContextBaseJavaModule implements
|
||||
try {
|
||||
return UIManagerModuleConstantsHelper.createConstants(viewManagerResolver);
|
||||
} finally {
|
||||
SystraceMessage.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
|
||||
Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
|
||||
ReactMarker.logMarker(CREATE_UI_MANAGER_MODULE_CONSTANTS_END);
|
||||
}
|
||||
}
|
||||
@ -237,7 +237,7 @@ public class UIManagerModule extends ReactContextBaseJavaModule implements
|
||||
return UIManagerModuleConstantsHelper.createConstants(
|
||||
viewManagers, customBubblingEvents, customDirectEvents);
|
||||
} finally {
|
||||
SystraceMessage.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
|
||||
Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
|
||||
ReactMarker.logMarker(CREATE_UI_MANAGER_MODULE_CONSTANTS_END);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user