I am using a system where buttons are created, and a couple of event listeners are set up for each button (button.MouseButton1Click, ect). The buttons are later destroyed. When an object is destroyed, do the event listeners pointing to that object stay?
The documentation says the connected events should destroy:
…when an object is destroyed, all connections to that object’s events are disconnected automatically.
3 Likes