Skip to content

Conversation

@jbmorley
Copy link
Contributor

AVAssetExportSession.export(to:as:isolation:) seems to hang if there are too many unbounded asynchronous import tasks running in withThrowingTaskGroup. This work-around introduces a limiter which ensures that no more than 8 active tasks are added to the task group. It seems to work.

`AVAssetExportSession.export(to:as:isolation:)` seems to hang if there are too many unbounded asynchronous import tasks running in `withThrowingTaskGroup`. This work-around introduces a limiter which ensures that no more than 8 active tasks are added to the task group. It seems to work.
@jbmorley jbmorley enabled auto-merge (squash) January 23, 2026 06:04
@jbmorley jbmorley merged commit 54e889c into main Jan 23, 2026
6 checks passed
@jbmorley jbmorley deleted the jbmorley/rate-limit-imports branch January 23, 2026 06:04
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