Skip to content

Commit

Permalink
Assert that workletsModuleProxy is found
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekzaw committed Dec 2, 2024
1 parent 0162804 commit 899ea86
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ static inline bool getIsReducedMotion()
makePlatformDepMethodsHolderBridgeless(moduleRegistry, nodesManager, reaModule);

const auto workletsModuleProxy = [workletsModule getWorkletsModuleProxy];
assert(workletsModuleProxy != nullptr);
auto uiScheduler = std::make_shared<REAIOSUIScheduler>();
auto jsScheduler = std::make_shared<JSScheduler>(runtime, runtimeExecutor);
constexpr auto isBridgeless = true;
Expand Down

0 comments on commit 899ea86

Please sign in to comment.