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

Fix playerviewcontroller keypath leak of observers #1827

Merged

Conversation

ashnfb
Copy link
Contributor

@ashnfb ashnfb commented Nov 19, 2019

Bug fix for autorotation and dismissal from

Provide an example of how to test the change

Dismissal of fullscreen player on iOS 10.3.1 was resulting in a fatal crash because keypath observers had not yet been removed from _playerViewController

Describe the changes

Add try catch block to remove keypath observers in the dismissal of the playerviewController. Fixes crash from exiting fullscreen.

@ashnfb ashnfb merged commit 2c5006a into TheWidlarzGroup:master Nov 19, 2019
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.

2 participants