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: clear WinToast on exit #5728

Merged
merged 3 commits into from
Nov 23, 2024
Merged

fix: clear WinToast on exit #5728

merged 3 commits into from
Nov 23, 2024

Conversation

pajlada
Copy link
Member

@pajlada pajlada commented Nov 23, 2024

this might fix a rare crash on shutdown on Windows

There's still room for other crashes (e.g. if TwitchChannel calls getApp()->getNotifications() during shutdown), but this patches a tiny hole at least.

Fixes #5601

@pajlada
Copy link
Member Author

pajlada commented Nov 23, 2024

I haven't tried this but I assume it doesn't explode your PC. Some windows user can test this when this lands in nightly

image

@pajlada pajlada merged commit b4ff128 into master Nov 23, 2024
18 checks passed
@pajlada pajlada deleted the fix/clear-toasts-on-dtor branch November 23, 2024 14:45
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.

Segfault when destroying WinToast
1 participant