After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 586269 - destructors of actors on the stage not called at end of cluttermm application
destructors of actors on the stage not called at end of cluttermm application
Status: RESOLVED OBSOLETE
Product: cluttermm
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: cluttermm-maint
cluttermm-maint
Depends on:
Blocks:
 
 
Reported: 2009-06-18 13:39 UTC by Bartek Kostrzewa
Modified: 2021-07-05 12:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test case for desctructor behaviour of actors (1.29 KB, text/plain)
2009-06-18 13:41 UTC, Bartek Kostrzewa
Details
test-texture-dtor.cc (1.37 KB, text/plain)
2015-09-17 08:42 UTC, Murray Cumming
Details

Description Bartek Kostrzewa 2009-06-18 13:39:40 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
Comment 1 Bartek Kostrzewa 2009-06-18 13:41:52 UTC
Created attachment 136920 [details]
test case for desctructor behaviour of actors
Comment 2 Murray Cumming 2015-09-17 08:42:49 UTC
Created attachment 311529 [details]
test-texture-dtor.cc

Fix the #include.
Comment 3 Murray Cumming 2015-09-17 08:43:12 UTC
This still seems to be a problem. I still see the same output.
Comment 4 Murray Cumming 2016-04-21 07:36:48 UTC
I just checked again. It's still a problem.
Comment 5 GNOME Infrastructure Team 2021-07-05 12:20:33 UTC
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.