Lele
1
So I’ve read the Tips on memory management to cleanup after my extension. I wondered if I need to disconnect an actor’s signals before destroying it?
For ex. I have this code:
someWidget.connect("key-press-event", () => something = "Blah");
and later I call someWidget.destroy();
Do I need to disconnect the signal before destroying someWidget?
andyholmes
(Andy Holmes)
2
Typically you do not need to disconnect signals on such an object, as they will be automatically be disconnected when the actor is destroyed.
1 Like
system
(system)
Closed
3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.