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

Fix LT-22011: Adding slots lead to crash #239

Merged
merged 5 commits into from
Dec 13, 2024
Merged

Conversation

jtmaxwell3
Copy link
Collaborator

@jtmaxwell3 jtmaxwell3 commented Dec 13, 2024

This was another issue where a display object got disposed prematurely. I came up with a more general solution to the problem by changing DataTree.PropChanged to use BeginInvoke to postpone the change until the invoker is done. I also removed the fix to https://jira.sil.org/browse/LT-21980 since it is covered by the general solution. The general solution should work, but I wonder if it is too general. Jason, could this cause a problem? Also, should we make this even more general by postponing all of DataTree.PropChanged?


This change is Reviewable

Copy link
Contributor

@jasonleenaylor jasonleenaylor left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @jtmaxwell3)

@JakeOliver28 JakeOliver28 enabled auto-merge (squash) December 13, 2024 20:43
@JakeOliver28 JakeOliver28 merged commit a41e13c into release/9.1 Dec 13, 2024
5 checks passed
@JakeOliver28 JakeOliver28 deleted the LT-22011 branch December 13, 2024 21:29
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