Skip to content

MediaPauseController: observe willTerminateNotification with queue: nil - #630

Open
toufiqfarhan0 wants to merge 1 commit into
AssemblyAI:mainfrom
toufiqfarhan0:fix/mac-media-pause-terminate
Open

toufiqfarhan0 wants to merge 1 commit into
AssemblyAI:mainfrom
toufiqfarhan0:fix/mac-media-pause-terminate

Conversation

@toufiqfarhan0

Copy link
Copy Markdown
Contributor

Fixes #629

Summary

  • Register MediaPauseController's NSApplication.willTerminateNotification observer with queue: nil instead of queue: .main so restoreBeforeExit() runs synchronously during termination and resumes paused media players before exit.

This branch has not been deployed

No deployments
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.

MediaPauseController uses queue: .main for willTerminateNotification, preventing music resume on quit

1 participant