Skip to content

Fix PlayerCore.active not accessed from main thread, #4251 #4278

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

Merged
merged 1 commit into from
Mar 22, 2023
Merged

Conversation

low-batt
Copy link
Contributor

This commit will:


Description:

This commit will:
- Change PlayerCore.playbackRestarted to use the main thread to call
  NowPlayingInfoManager.updateInfo
- Remove locking from NowPlayingInfoManager.updateInfo since there is no
  longer a need to coordinate access from multiple threads
- Add comments pointing out the requirement to use the main thread
@uiryuu uiryuu merged commit e6fe6d8 into develop Mar 22, 2023
@uiryuu
Copy link
Member

uiryuu commented Mar 22, 2023

Thanks!

@uiryuu uiryuu deleted the fix-4251 branch March 22, 2023 13:42
@low-batt low-batt linked an issue Mar 22, 2023 that may be closed by this pull request
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.

Crash due to PlayerCore.active being called outside the main thread
2 participants