Erik Sandberg escreveu:
> They are there for completeness. I think the reason they are never called, is 
> that score contexts aren't explicitly destroyed. I think this is because 
> contexts below Score are destroyed during iteration, while scores themselves 
> aren't (probably because they contain references to the typeset score, which 
> is needed later). Scores and score-translators are therefore only removed by 
> the GC, so the destructors are never executed.

No, that's incorrect. Removal of contexts is different reclaiming the memory.
Can you have a look at 

  Global_context::run_iterator_on_me

why the check_removal doesn't trigger for the Score context?

-- 

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to