When can you download GObject?

When not to remove GObject and when to release it?
The GObject tutorial states that GObject should be freed and freed, but shouldn't GObject actually free itself if and only if its refcount drops to 0?

+3
source share
1 answer

This tutorial describes how and when a custom GObject class needs to free its internal data. In particular, the difference between a method disposeand a method finalize.

When you create a GObject, you should only not fix it and never release it, or even bypass the reference counting system and possibly cause crashes somewhere else.

+3
source

All Articles