Skip to content

util : autohide window : fix memory leaks#405

Merged
trigg merged 1 commit intoWayfireWM:masterfrom
AKArien:autohide-window-leaks
Mar 11, 2026
Merged

util : autohide window : fix memory leaks#405
trigg merged 1 commit intoWayfireWM:masterfrom
AKArien:autohide-window-leaks

Conversation

@AKArien
Copy link
Contributor

@AKArien AKArien commented Mar 11, 2026

Some signal handlers are not getting disconnected, which leaks memory when an autohide window is made and removed (so, effectively, on monitor disconnection and reconnection)

Copy link
Member

@soreau soreau left a comment

Choose a reason for hiding this comment

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

I must say, this is basically a model pull request, bravo. It fixes a problem and has a clear commit message and additional text answering questions and explaining answers before anyone has to ask.

The only thing I might do differently, is include the additional comments in the commit message of the patch commit message so that it shows up in git history, i.e. git log. You can use git commit --amend for this, which will bring up your default EDITOR (env var) to amend the commit message. After the additional comments are added and the file saved+editor closed, the top commit will be modified. You can then git push -f <remote> <branch> the result. Something like this pseudo commit message might work:

uti: autohide window: fix memory leaks

Additional comments here that will be retained in git history, rather than
only some text in a pull request on github.

Some signal handlers were not getting disconnected, which leaks memory when an
autohide window is made and removed (so, effectively, on monitor disconnection
and reconnection)
@AKArien AKArien force-pushed the autohide-window-leaks branch from b16df33 to 2f9e2c3 Compare March 11, 2026 21:42
@trigg trigg merged commit 18f44f6 into WayfireWM:master Mar 11, 2026
2 checks passed
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.

3 participants