Is this correct?
-
If composer.recycleOnSceneChange=true then every time we move off a scene, we get a hide event, then a destory event. The scene itself (i.e. the lua module) is not removed from memory (unloaded)
-
If composer.recycleOnSceneChange is not set or false, then a scene is only recycled if;
a. composer.recycleOnLowMemory=true and the OS gets a low memory event.
b. a scene is explicitly recycled with composer.removeScene( s, true )
– in both cases, we get a destroy event, but the scene itself (i.e. the lua module) is not removed from memory (unloaded)
- The only time the module is removed (unloaded) is with the explicit composer.removeScene( s, false ) call.