Skip to content

Fix iOS app hangs blocking main thread - #5

Merged
Ludevv merged 1 commit into
ds-custom-forkfrom
fix-ios-main-thread-hangs
Feb 24, 2026
Merged

Fix iOS app hangs blocking main thread#5
Ludevv merged 1 commit into
ds-custom-forkfrom
fix-ios-main-thread-hangs

Conversation

@Ludevv

@Ludevv Ludevv commented Feb 12, 2026

Copy link
Copy Markdown

Problem:
App hanging for at least 2000ms reported by Sentry.

Solution:

  • Move NowPlayingInfoCenterManager.updateNowPlayingInfo metadata loading (asset.commonMetadata) to a dedicated serial background queue to avoid blocking the main thread
  • Remove synchronous currentDate() call in sendProgressUpdate — it's only relevant for HLS live streams with
    #EXT-X-PROGRAM-DATE-TIME tag, which our manifests don't have (verified). The value was always nil.

@mobily

mobily commented Feb 13, 2026

Copy link
Copy Markdown

is it ok that all checks fail in this PR? 😆

@Ludevv

Ludevv commented Feb 13, 2026

Copy link
Copy Markdown
Author

is it ok that all checks fail in this PR? 😆

yeah, you can check merged PRs

@Ludevv
Ludevv merged commit 6464341 into ds-custom-fork Feb 24, 2026
0 of 5 checks passed
@Ludevv
Ludevv deleted the fix-ios-main-thread-hangs branch February 24, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants