lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: disconnect coverage


From: Han-Wen Nienhuys
Subject: Re: disconnect coverage
Date: Thu, 04 Jan 2007 20:13:13 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20061219)

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 - address@hidden - http://www.xs4all.nl/~hanwen

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]