Re: disconnect coverage

2007-01-06 Thread Han-Wen Nienhuys
Erik Sandberg escreveu: >> 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? > > Sorry for being unclear. > > check_removal always

Re: disconnect coverage

2007-01-06 Thread Erik Sandberg
On Thursday 04 January 2007 20:13, Han-Wen Nienhuys wrote: > 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

Re: disconnect coverage

2007-01-04 Thread Han-Wen Nienhuys
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 contai

Re: disconnect coverage

2007-01-04 Thread Erik Sandberg
On Thursday 04 January 2007 14:43, Han-Wen Nienhuys wrote: > Hi Erik, > > browsing the coverage reports, I see > > ** > uncovered chunk in out-cov/score-performer.cc.gcov >#: 77:Score_performer::disconnect_from_context () >-: 78:{ >#: 79: Dispatcher *d = cont

disconnect coverage

2007-01-04 Thread Han-Wen Nienhuys
Hi Erik, browsing the coverage reports, I see ** uncovered chunk in out-cov/score-performer.cc.gcov #: 77:Score_performer::disconnect_from_context () -: 78:{ #: 79: Dispatcher *d = context ()->get_global_context ()->event_source (); #: 80: d->re