Hi all,
Sorry for the basic question. I have some data classes that inherit from Object, are created at the beginning of the game and never destroyed.
The documentation says that Object.free()
should be called for Objects to avoid memory leaks. Am I correct in believing this isn't necessary if the Object is never actually removed?
Basically, does the application automatically delete everything when it's closed? Or do I need to call Object.free()
somewhere (such as _on_exit_tree
) to ensure the application doesn't leave anything around?
Thanks!