Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

feat(DownloadManager): properly handle downloading #66

Merged
merged 4 commits into from
Jan 20, 2024
Merged

feat(DownloadManager): properly handle downloading #66

merged 4 commits into from
Jan 20, 2024

Conversation

rushiiMachine
Copy link
Contributor

This rewrites the download manager to properly handle all possible download states, and cancel/clean up after itself properly (previously it could get in a stuck state and hang a thread forever, lagging the device from download state queries every millisecond)

Additionally, this handles the event the download was cancelled through a coroutine cancellation, and cancels the download subsequently and cleans up after itself (so the entire installation process will not go on now either)

Could possibly be a fix for #50 as well

@wingio wingio merged commit d65cd45 into vendetta-mod:main Jan 20, 2024
1 check passed
@rushiiMachine rushiiMachine deleted the feat/better-downloadmanager branch January 20, 2024 02:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants