Skip to content

Commit

Permalink
Merge pull request #11 from iwater/master
Browse files Browse the repository at this point in the history
fix(ios): crash on install jsi module
  • Loading branch information
craftzdog authored May 29, 2023
2 parents 3ce33a8 + dccae37 commit 8551b75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ios/QuickMd5.mm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ - (void)setBridge:(RCTBridge *)bridge
return;
}

installMd5(*(facebook::jsi::Runtime *)cxxBridge.runtime);
[bridge dispatchBlock:^{
installMd5(*(facebook::jsi::Runtime *)cxxBridge.runtime);
} queue:RCTJSThread];
}

- (void)invalidate {
Expand Down

0 comments on commit 8551b75

Please sign in to comment.