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: Prevent race / crash when updating main drawer items #1150

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

nikclayton
Copy link
Contributor

Previous code could crash if the main drawer items weren't created before setting the optional items (scheduled statuses, lists, etc).

Protect the drawer item manipulation with a mutex to prevent this.

Previous code could crash if the main drawer items weren't created
before setting the optional items (scheduled statuses, lists, etc).

Protect the drawer item manipulation with a mutex to prevent this.
@nikclayton nikclayton merged commit 5a86143 into main Dec 2, 2024
24 checks passed
@nikclayton nikclayton deleted the fix-drawer-race branch December 2, 2024 16:09
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.

1 participant