Comment #4 on issue 2913 by [email protected]: Patch: Implement session-terminate in lily.scm
http://code.google.com/p/lilypond/issues/detail?id=2913
David, many thanks for working on this! The variables declared per session are: 1) bar-glyph-alist defined as empty list and filled with strings in scm/bar-line.scm 2) span-bar-glyph-alist see above 3) volta-bracket-allow-volta-hook-list see above 4) bar-glyph-print-procedures this is a quasiquoted list and holds the bar line drawing functions. It is predefined during scm/bar-line.scm *and* another glyph/drawing function is added within the fishy reg test bar-line-define-bar-glyph.ly. I don't know much about garbage collection, but it seems to me that storing the function calls in a quasiquote list seems to confuse lilypond's internals.
