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

Cleanup of failed download may misbehave #157

Open
wonder-sk opened this issue Jan 6, 2023 · 0 comments
Open

Cleanup of failed download may misbehave #157

wonder-sk opened this issue Jan 6, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@wonder-sk
Copy link
Contributor

Sometimes if a download fails, the subsequent cleanup of the project directory may fail as well: MerginMaps/qgis-plugin#442 (comment)
While it looks like some other app is using the downloaded files, it is possible that we are doing the cleanup too early - e.g. in download_project_is_running() we do the cleanup while some other futures may be still active: we should wait until all jobs are done before doing any cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants