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

Control access to ZipFile with a mutex in StreamingZipContainer #543

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

qnga
Copy link
Contributor

@qnga qnga commented Jun 25, 2024

Resources are neither thread-safe nor coroutine-safe BUT several resources from the same container can be used at the same time (for instance by the WebView). Java ZipFile is thread-safe but the one from Apache Compress is not.

Should fix #526

@qnga qnga requested a review from mickael-menu June 25, 2024 15:36
Copy link
Member

@mickael-menu mickael-menu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't reproduce #526 from this branch, thank you!

@mickael-menu mickael-menu merged commit 8566246 into develop Jun 28, 2024
3 checks passed
@mickael-menu mickael-menu deleted the fix/zip-content-sync branch June 28, 2024 16:03
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.

[Bug] Failure when streaming a ZIP from the shared storage
2 participants