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

Suspending/Terminating a downloading task safely #27

Open
tyanyuy3125 opened this issue Nov 21, 2020 · 0 comments
Open

Suspending/Terminating a downloading task safely #27

tyanyuy3125 opened this issue Nov 21, 2020 · 0 comments
Assignees
Labels
新功能/改进 enhancement 增加新功能 New feature or request

Comments

@tyanyuy3125
Copy link
Member

The current version of the library does not offer an internal method to suspend/terminate a download task SAFELY, and workarounds on the linked launcher that do not modify the core's code are almost impossible to suspend/terminate the tasks safely for they are asynchronous and terminating them from outside results in exceptions. Whereas the function to suspend or terminate a task is severely in need especially for launchers that aim to be user-friendly considering that some users might regret their actions to download/launch a game.

Though this is an issue from a developer, we may not handle it in a short period. So PRs are welcome :)

@tyanyuy3125 tyanyuy3125 added the 新功能/改进 enhancement 增加新功能 New feature or request label Nov 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
新功能/改进 enhancement 增加新功能 New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants