Skip to content

Commit

Permalink
Update Common/cpp/SharedItems/Shareables.h
Browse files Browse the repository at this point in the history
Co-authored-by: Tomek Zawadzki <tomasz.zawadzki@swmansion.com>
  • Loading branch information
kmagiera and tomekzaw authored Dec 14, 2022
1 parent f63cf7d commit 9f37efd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Common/cpp/SharedItems/Shareables.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ class JSRuntimeHelper {
template <typename... Args>
inline void runOnUIGuarded(const jsi::Value &function, Args &&...args) {
// We only use callGuard in debug mode, otherwise we call the provided
// function directly. CallGuard provides a way of capturing expeptions in
// Javascript and propagating them to the main React Native thread such that
// function directly. CallGuard provides a way of capturing exceptions in
// JavaScript and propagating them to the main React Native thread such that
// they can be presented using RN's LogBox.
#ifdef DEBUG
callGuard->call(*uiRuntime_, function, args...);
Expand Down

0 comments on commit 9f37efd

Please sign in to comment.