Hello!
I found a module for tweening and it does something like this:
local event = Instance.new("BindableEvent")
-- Code ends
What I’m wondering is if the event is never parented and the script stops running, will it cause a memory leak?
Hello!
I found a module for tweening and it does something like this:
local event = Instance.new("BindableEvent")
-- Code ends
What I’m wondering is if the event is never parented and the script stops running, will it cause a memory leak?
If I’m not wrong, any instance without a strong reference and parent will be garbage collected. Since the script stops running it should be garbage collected