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

last bits of asan output #6470

Merged
merged 4 commits into from
Jun 13, 2024
Merged

last bits of asan output #6470

merged 4 commits into from
Jun 13, 2024

Conversation

gulafaran
Copy link
Contributor

Describe your PR, what does it fix/add?

with these commits and the hyprutils PR im down to

SUMMARY: AddressSanitizer: 880 byte(s) leaked in 8 allocation(s). of a nested run of opening a few windows/closing and exiting hyprland. making asan VERY silent :) not that these wouldnt have been harvested by the OS anyways but makes asan much more tolerable when trying to debug things. could use a test or two so the eventloopmanager doesnt have to be running at exit? and freeing the idle frame means some artifacting on some weird combination of display destroying.

the remaining leaks is gonna be solved when the 3 old protocols gets rewritten to the new way, and when the wlroots/wayland implentation proceeds.

add destructor and destroy the event source.
one less leak on exit of compositor reported by asan.
destruct hyprctl to release the event sources, and properly cleanup the
event loop on exit of compositor. less leaks on exit reported by asan
destroy the event source on destruction.
reset the eventloopmanager on exit of compositor and free the leaking
last idle frame on monitor destroy.
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@vaxerski vaxerski merged commit e6d1053 into hyprwm:main Jun 13, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants