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

await download() will not stuck if item.cancel() was called #164

Merged
merged 6 commits into from
Oct 5, 2023

Conversation

k2s
Copy link
Contributor

@k2s k2s commented Oct 4, 2023

based on #142
fixes #115
also it was not possible to call item.cancel() from onStart because of wrong code order

@sindresorhus sindresorhus merged commit 9e84f84 into sindresorhus:main Oct 5, 2023
0 of 2 checks passed
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.

await download() stuck when network connection fails
2 participants