GNOME Bugzilla – Bug 586269
destructors of actors on the stage not called at end of cluttermm application
Last modified: 2021-07-05 12:20:33 UTC
When actors are children of the stage at application termination, the destructors of those actors are only called if they are removed from the stage manually. I think all reference counters should be decremented automatically to ensure proper destruction. Test-case output: bartek@chronos:~/projects/odyssey$ ./test-texture-dtor CustomTexture ctor: cust_text1 CustomTexture ctor: cust_text2 unreffing cust_text2 CustomTexture dtor: cust_text1
Created attachment 136920 [details] test case for desctructor behaviour of actors
Created attachment 311529 [details] test-texture-dtor.cc Fix the #include.
This still seems to be a problem. I still see the same output.
I just checked again. It's still a problem.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/cluttermm/-/issues/ Thank you for your understanding and your help.