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

fix: ComponentManager.install() deadlock #2407

Merged
merged 2 commits into from
Dec 20, 2022

Conversation

StoneMoe
Copy link
Contributor

@StoneMoe StoneMoe commented Dec 20, 2022

Description

My internet sucks, manifest fetching and file download randomly failed.
when ComponentManager.install() failed with downloading, it won't pop the failed installation from self.__queue, next call to ComponentManager.install() will keep waiting for empty queue forever.
then Onboard Dialog will stuck at "Almost Done" forever.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Tested locally

@StoneMoe
Copy link
Contributor Author

Screenshoot by moobell#1174 on Discord

image

@StoneMoe
Copy link
Contributor Author

StoneMoe commented Dec 20, 2022

This should able to fix #2403 and #2406

@StoneMoe StoneMoe requested a review from jannuary December 20, 2022 07:51
@Kinsteen
Copy link
Contributor

Looks good, I also stumbled upon problems if Bottles fails to download components.

@mirkobrombin mirkobrombin merged commit e8262eb into bottlesdevs:main Dec 20, 2022
@StoneMoe StoneMoe deleted the fix-onboard-freeze branch December 23, 2022 10:22
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.

4 participants