Skip to content

Check _selected_block_code is still valid before disconnecting#207

Merged
starnight merged 1 commit intomainfrom
fix-disconnect-freed-object
Aug 30, 2024
Merged

Check _selected_block_code is still valid before disconnecting#207
starnight merged 1 commit intomainfrom
fix-disconnect-freed-object

Conversation

@dylanmccall
Copy link
Copy Markdown
Contributor

Previously, it was possible for _selected_block_code to refer to an object which had been freed, which resulted in an error when calling disconnect for its signals.

Previously, it was possible for _selected_block_code to refer to an
object which had been freed, which resulted in an error when calling
disconnect for its signals.
Copy link
Copy Markdown
Contributor

@starnight starnight left a comment

Choose a reason for hiding this comment

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

LGTM!

@starnight starnight merged commit f5ff37c into main Aug 30, 2024
@starnight starnight deleted the fix-disconnect-freed-object branch August 30, 2024 03:49
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.

2 participants