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

Crash on older device when app enters background while converting #6

Open
tapgitk opened this issue Aug 2, 2022 · 0 comments
Open

Comments

@tapgitk
Copy link

tapgitk commented Aug 2, 2022

The lib crashed at self.group.leave() in the code block

outputVideoData(videoInput, videoOutput: videoOutput, duration: duration, progressHandler: progressHandler) {
      self.group.leave()
  }

I tested on an iphone 6 ios 12 with a video of size 200mb and after 5 seconds since the conversion started, I minimize the app for 3 seconds and go back to active state. Crash doesnt happen on iphone x with similar reproduction steps. I guess there may be an unparalleled match between group.enter() and group.leave() in the block. Please advise any possible improvement.

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

No branches or pull requests

1 participant