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

Wait for the PositionWatcher thread to stop #1109

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

aronbierbaum
Copy link
Contributor

Without this change closing a AVPlayer might crash because the PositionWatcher thread has not stopped before the AVPlayer is destroyed.

@mrgreywater
Copy link

a simple watcher.wait() will do the same as your loop

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.

None yet

2 participants