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 module UPower display device poniter #2855

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Fix module UPower display device poniter #2855

merged 1 commit into from
Jan 22, 2024

Conversation

SquishyPandaDev
Copy link
Contributor

Force displayDevice to be a nullptr on class setup

Should fix seg faults and device not displaying

Current code expects UPower::displayDevice to be initially null. If it is not, as was the case on my box, it can lead to seg faults or the device not displaying information

Force displayDevice to be a nullptr on class setup
@Alexays Alexays merged commit 0d9c492 into Alexays:master Jan 22, 2024
@Alexays
Copy link
Owner

Alexays commented Jan 22, 2024

Thanks!

@SquishyPandaDev
Copy link
Contributor Author

Your welcome 😄

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.

2 participants