I want to know if it is "good" to do this :
func free ( ):
clear ( )
.free ( )
If is not, is there a way to call a function when the object is freed ?
Thanks for your answers !
EDIT : I have a set of timers in a singleton. Every timer extends Object. When the node is deleted I want to delete every timer. This is why I ask this.