I often need to move sceneGroup to the top of my Lua module file and remove local from “sceneGroup = self.view” in scene:create, scene:show, etc because I add stuff to the scene using sceneGroup:insert in functions.
Does that mean the scene will not be clean up automatically?
Also what about images and audio files declared the same way (local at the very top) to be accessed from all the module functions but are inserted into the scene mentioned above. Are these cleaned automatically or not?