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

appIconsDecorator: Handle signal disconnections on destruction #2273

Merged
merged 6 commits into from
Aug 27, 2024

Conversation

3v1n0
Copy link
Collaborator

@3v1n0 3v1n0 commented Aug 26, 2024

Ensure that we destroy the created objects and that we disconnect from all their signals on destruction.

Also, stop monitoring objects destruction in signal handler after an object has been destroyed.

Closes: #2272
Closes: #2270

@3v1n0 3v1n0 mentioned this pull request Aug 26, 2024
If we're tracking an object destruction and that object gets destroyed,
we need to remove the signals handler storage item, or we'd end up
trying to disconnect from it again when destroying the signals handler.

Closes: micheleg#2270
Copy link
Collaborator

@vanvugt vanvugt left a comment

Choose a reason for hiding this comment

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

If it closes the bugs, sure!

@vanvugt vanvugt merged commit 06c43e1 into micheleg:master Aug 27, 2024
1 check 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.

memory leak... once again v94 crashes gnome-shell when invoking lock screen.
2 participants