-
Notifications
You must be signed in to change notification settings - Fork 71
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
GtkD 3.4.0 Destroy Dialog Assertion Failure #169
Comments
I tried changing the |
I've changed unref, to properly removing the toggle reference. This should stop GTK from trying to call the toggle callback in the cases where that would no longer be possible. I can no longer reproduce the issue with this change. |
Thanks @MikeWey that does indeed work fine. Any chance of getting a 3.4.1 release with this change included? |
Done. |
Thanks! |
I use the following style of code in Terminix when showing dialogs where a scope(exit) is used tod estroy the dialog:
This worked fine in 3.3.0 but in the new 3.4.0 version it seems to be generating an assertion failure in GObject:
It looks to be caused by the unref added in ObjectG.d from this commit, if I comment that out I do not get the assertion failure any longer:
c622205
That commit was to fix a memory leak I reported in #165.
The text was updated successfully, but these errors were encountered: