Creajeux_Progs
25-01-2007 15:43:52
I can't find a solution to delete the Paging Landscape scenemanager ...
Here is the problem :
There is a frame listener called PagingLandscapePageManager (or something like that..) which is called every frame.
When i delete the scene manager from my application, this frame listener is put in a "ToDestroy" list of framelistener but, as it is still in the list of "ToCall" frame listener, its called on the same frame, but no longer exists. .so it crash..
I hope you understand me (not easy to explain a complex problem in english :p )
Basically there is 2 frame listener to call : the application one and this paging listener (called after the application listener), so when i destroy the latter during the former, it still want to call the paging one in the same frame.
How can i resolve this ? i don't see how to delete a frame listener the next frame..
Here is the problem :
There is a frame listener called PagingLandscapePageManager (or something like that..) which is called every frame.
When i delete the scene manager from my application, this frame listener is put in a "ToDestroy" list of framelistener but, as it is still in the list of "ToCall" frame listener, its called on the same frame, but no longer exists. .so it crash..
I hope you understand me (not easy to explain a complex problem in english :p )
Basically there is 2 frame listener to call : the application one and this paging listener (called after the application listener), so when i destroy the latter during the former, it still want to call the paging one in the same frame.
How can i resolve this ? i don't see how to delete a frame listener the next frame..