Signal

ValentObject::destroy

unstable since: 1.0

Declaration

void
destroy (
  ValentObject* self,
  gpointer user_data
)

Description [src]

Emitted when the object is being destroyed.

This signal is emitted when the object enters disposal and always on the main thread, with the object lock acquired. Note that you must still drop any references you hold to avoid leaking memory.

Implementations must override Valent.ObjectClass.destroy instead of GObject.ObjectClass.dispose to ensure the instance is finalized on the main thread.

Default handler:

The default handler is called after the handlers added via g_signal_connect_after().

Signal emission will restart instead of recursing
Hooks are disabled for this signal
Available since: 1.0