The "destroy" signal is emitted by an object when it is in the process of being destroyed. This signal is connected to signal_handlers_desctroy which causes the signal connections associated with the object to be destroyed immediately after this emission.
Callback function