Content-Length: 265892 | pFad | http://github.com/facebook/react-native/pull/45486/commits/6e32378efaca6f367e899609d22dedac71c54f82

1C [iOS] Fixes main thread stuck when reload in bridgeless mode by zhongwuzw · Pull Request #45486 · facebook/react-native · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Fixes main thread stuck when reload in bridgeless mode #45486

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
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
Next Next commit
[iOS] Fixes main thread stuck when reload in bridgeless mode
  • Loading branch information
zhongwuzw committed Jul 17, 2024
commit 6e32378efaca6f367e899609d22dedac71c54f82
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,10 @@ - (void)_loadScriptFromSource:(RCTSource *)source
[[NSNotificationCenter defaultCenter] postNotificationName:@"RCTInstanceDidLoadBundle" object:nil];

if (_onInitialBundleLoad) {
_onInitialBundleLoad();
_onInitialBundleLoad = nil;
auto onInitialBundleLoad = _onInitialBundleLoad;
RCTExecuteOnMainQueue(^{
onInitialBundleLoad();
});
zhongwuzw marked this conversation as resolved.
Show resolved Hide resolved
}
}

Expand Down
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/facebook/react-native/pull/45486/commits/6e32378efaca6f367e899609d22dedac71c54f82

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy