Skip to content

Commit dc87775

Browse files
committed
Adding a comment
1 parent b0ebecf commit dc87775

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-native/ReactCommon/react/runtime/hermes/HermesInstance.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ class HermesJSRuntime : public JSRuntime {
110110
}
111111

112112
void unstable_initializeOnJsThread() override {
113+
// On new arch, we're seeing a crash in release optimized builds here. Adding this as a stopgap measure to prevent
114+
// the crash to allow us to more thoroughly test new arch while this is investigated.
113115
#ifdef HERMES_ENABLE_PROFILING
114116
runtime_->registerForProfiling();
115117
#endif

0 commit comments

Comments
 (0)