On Sun, 2009-06-07 at 12:05 +0200, Bartosz Kostrzewa wrote: > Attached is a simple test case which explains what the problem is. The > ending of Clutter::main() does not remove actors from the stage.
this is how Clutter works; the scenegraph is *not* destroyed at the end of the main loop, because the loop can be stopped and restarted. destroying the scene would be wrong. if you are quitting the application it doesn't matter, the allocated memory will be reclaimed by the OS. if you are not quitting the application and you want to restart the main loop with a "clean slate", just remove all actors from the stage (if it is the default one) or destroy the stage (if it was created with clutter_stage_new()). ciao, Emmanuele. -- Emmanuele Bassi, Senior Engineer | [email protected] Intel Open Source Technology Center | http://oss.intel.com -- To unsubscribe send a mail to [email protected]
