[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
disconnect coverage
From: |
Han-Wen Nienhuys |
Subject: |
disconnect coverage |
Date: |
Thu, 04 Jan 2007 14:43:15 +0100 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20061219) |
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->remove_listener (GET_LISTENER (one_time_step),
ly_symbol2scm ("OneTimeStep"));
#####: 81: d->remove_listener (GET_LISTENER (prepare), ly_symbol2scm
("Prepare"));
#####: 82: d->remove_listener (GET_LISTENER (finish), ly_symbol2scm
("Finish"));
-: 83:
#####: 84: Performer_group::disconnect_from_context ();
#####: 85:}
uncovered chunk in out-cov/score-engraver.cc.gcov
#####: 103:Score_engraver::disconnect_from_context ()
-: 104:{
#####: 105: Dispatcher *d = context ()->get_global_context
()->event_source ();
#####: 106: d->remove_listener (GET_LISTENER (one_time_step),
ly_symbol2scm ("OneTimeStep"));
#####: 107: d->remove_listener (GET_LISTENER (prepare), ly_symbol2scm
("Prepare"));
#####: 108: d->remove_listener (GET_LISTENER (finish), ly_symbol2scm
("Finish"));
-: 109:
#####: 110: Engraver_group::disconnect_from_context ();
#####: 111:}
**
it seems this is never executed. Can you check this out, and either
remove the code, or fix it?
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com
- disconnect coverage,
Han-Wen Nienhuys <=