Skip to content

Allow SettingsRegistration to be GCed#2822

Merged
rchl merged 3 commits intomainfrom
fix/settings-registration
Mar 21, 2026
Merged

Allow SettingsRegistration to be GCed#2822
rchl merged 3 commits intomainfrom
fix/settings-registration

Conversation

@rchl
Copy link
Copy Markdown
Member

@rchl rchl commented Mar 21, 2026

Despite what I've said about weakref, it seems acceptable here. Otherwise I would probably use explicit listener registration/unregistration but I don't want to complicate things.

Fixes #2811

Copy link
Copy Markdown
Member

@predragnikolic predragnikolic left a comment

Choose a reason for hiding this comment

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

Tested ✔️ it fixes the issue

(and sorry for the quietness to your questions in the issue)

@rchl rchl merged commit bad4089 into main Mar 21, 2026
8 checks passed
@rchl rchl deleted the fix/settings-registration branch March 21, 2026 21:04
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.

LSP can cause ST to block when used with other plugins

2 participants