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

Frame extractor: fix ConcurrentModificationException when removing jobs #195

Merged
merged 1 commit into from
Jun 6, 2022

Conversation

ReallyVasiliy
Copy link
Collaborator

Collection of jobs was being modified while iterating.

To reproduce, run the demo and:

  • Tap Extract Video Frames
  • Pick a video
  • Tap Extract
  • While frames are being extracted, tap Extract again

With the fix, the exception will no longer be thrown, and extracting will restart as expected.

@ReallyVasiliy ReallyVasiliy merged commit 1228e2d into linkedin:main Jun 6, 2022
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