Geom +name+ deleted on finalisation...what is this?

Hi, when I reboot my application making clean() methods below:


display.getRenderer().cleanup();
      TextureManager.doTextureCleanup();
        TextureManager.clearCache();
     //   KeyInput.destroyIfInitalized();
        GameStateManager.getInstance().cleanup();
        scene.detachAllChildren();
        mainState.cleanup();
      DisplaySystem.getDisplaySystem().getCurrentContext().invalidateStates();
        DisplaySystem.getDisplaySystem().close();



and  for physicsSpace

physicsSpace.removeAllFromUpdateCallbacks();
      physicsSpace.delete();



all restarts correctly but in the ingame there's no physics anymore!
on the console comes up many of this: Geom null deleted on finalisation

I think it does a delete() action on my physicsSpace in the second boot, but why?? who call it??
How can I do?

thanks...(very thanks) ;)

You can remove the line physicsSpace.removeAllFromUpdateCallbacks(); (it is called from the delete method anyways).

But that won't solve your problem, of course.



No idea why it should not work the second time. delete() removed the existing callbacks, objects and joints only. Those messages about the finalization are ok, I think. Seems you need to debug a bit.