Emmanuele Bassi wrote: >> > > 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.
Ok, I can accept that, you're obviously right. I think I should rephrase it as: "when the application ends", because that is the actual problem. >> > > if you are quitting the application it doesn't matter, the allocated >> > > memory will be reclaimed by the OS. I see, but the destructors are not called when you quit the application, which is a problem. >> > > 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()). Yes, agree 100%. Anything else would be wrong. >> > > >> > > ciao, >> > > Emmanuele. Thanks. -- To unsubscribe send a mail to [email protected]
