Skip to content

Fix null pointer exception on motd fetch failure#1071

Merged
in1tiate merged 1 commit intomasterfrom
fix-msdown-crash
Jan 23, 2025
Merged

Fix null pointer exception on motd fetch failure#1071
in1tiate merged 1 commit intomasterfrom
fix-msdown-crash

Conversation

@in1tiate
Copy link
Member

Fixes #324, again. Hopefully forever this time.
Using a QPointer instead of a raw pointer prevents a null pointer exception as it is set to 0 when the object is destroyed instead of dangling.

@in1tiate in1tiate merged commit d333934 into master Jan 23, 2025
3 checks passed
@in1tiate in1tiate deleted the fix-msdown-crash branch January 23, 2025 09:16
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.

Favorites crash the client if you're too fast

2 participants