Page 1 of 1

unload windows ?

Posted: Sun May 29, 2005 18:58
by kristian
Hello,
Is it possible to unload CEGUI::Windows inside a click event callback method ?

I've had problems with CEGUI crashing upon doing this. Off course I can easily solve it by triggering a unload flag and unloading next "render loop cycle" before i tell CEGUI to dispatch any events.

- Kristian

Re: unload windows ?

Posted: Sun May 29, 2005 22:58
by lindquist
The CVS version of CEGUI has a 'dead-pool' which makes this possible.
I could imagine that this will be included in the soon-to-come 2.1 release.
If you want to take a peek, there's a thread in General Discussion about the release.