Skip to content
Closed
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,12 @@ - (void)stopAutoRetry

- (void)autoRetryTick
{
// Don't reload while backgrounded: it re-inits TurboModules, and a
// requiresMainQueueSetup module dispatch_syncs onto the blocked main queue,
// deadlocking until the watchdog kills the app.
if (RCTSharedApplication().applicationState != UIApplicationStateActive) {
return;
}
_autoRetryCountdown--;
if (_autoRetryCountdown <= 0) {
[self stopAutoRetry];
Expand Down
Loading