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

Fixes crash in iOS 13.6 iPhone 11 #15

Open
wants to merge 1 commit into
base: feature/ios-track-fullscreen-controls
Choose a base branch
from

Conversation

gazialankus
Copy link

This fixes the crash that happens in iPhone11 (iOS 13.6), tested in iOS Simulator.

When you go to fullscreen, video freezes after a bit. Trying to exit fullscreen crashes with an error. This fixes it.

Also tested in iPhone 6 and iPhone 7 (iOS 12.4) in Simulator, works fine there as well.

alexejh pushed a commit to simpleTechs/react-native-video that referenced this pull request Jul 29, 2022
This PR is intended to prevent memory crashes when the free memory runs out

Jira: VEX-6030
https://jira.tenkasu.net/browse/VEX-6030

Velocity PR: crunchyroll/velocity#2043

By forcefully calling the garbage collector the memory crashes, specially on lower resolutions (<720p) are gone on devices with 2GB of ram or less and Android 6, also testing 3GB Android 7 with this patch, so far is working as intended

Reviews
Major reviewer (domain expert): @nickfujita
Minor reviewer: @jctorresM
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.

1 participant