Skip to content

Prevent writing to custom data while initializing#2499

Merged
justvanrossum merged 1 commit intomainfrom
dont-write-on-init
Mar 17, 2026
Merged

Prevent writing to custom data while initializing#2499
justvanrossum merged 1 commit intomainfrom
dont-write-on-init

Conversation

@justvanrossum
Copy link
Copy Markdown
Member

@justvanrossum justvanrossum commented Mar 17, 2026

There's an unfortunate notification loop in the editor when initializing: we start listening to changes to "projectGlyphSets" before the font controller is done initializing. Then we set "projectGlyphSets", but in that case the listener should not in any case try write the custom data.

Relates to #2491

@justvanrossum justvanrossum merged commit 9f8773b into main Mar 17, 2026
4 checks passed
@justvanrossum justvanrossum deleted the dont-write-on-init branch March 17, 2026 09:25
justvanrossum added a commit that referenced this pull request Mar 17, 2026
This reverts commit d16b60b.

This problem has been fixed differently in #2499
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.

1 participant