Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ReactCommon/cxxreact/NativeToJsBridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ void NativeToJsBridge::callFunction(
#else
(void)(systraceCookie);
#endif
SystraceSection s("NativeToJsBridge::callFunction", "module", module, "method", method);
// This is safe because we are running on the executor's thread: it won't
// destruct until after it's been unregistered (which we check above) and
// that will happen on this thread
Expand Down
2 changes: 1 addition & 1 deletion ReactCommon/cxxreact/NativeToJsBridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class NativeToJsBridge {
bool m_applicationScriptHasFailure = false;

#ifdef WITH_FBSYSTRACE
std::atomic_uint_least32_t m_systraceCookie = ATOMIC_VAR_INIT();
std::atomic_uint_least32_t m_systraceCookie{};
#endif
};

Expand Down