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: only unpause if a selected page exists #5637

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Oct 9, 2024

The selected page can be nullptr. Unfocusing a window without any tabs would segfault.

Fixes #5636.

@pajlada pajlada enabled auto-merge (squash) October 9, 2024 09:02
@pajlada pajlada merged commit f04e7e5 into Chatterino:master Oct 9, 2024
18 checks passed
@Nerixyz Nerixyz deleted the fix/empty-crash branch October 9, 2024 09:33
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.

Crash if no tab exists
2 participants