Comment #28 on issue 2356 by [email protected]: Lilypond segfaults
http://code.google.com/p/lilypond/issues/detail?id=2356

Since axis_groups_ is used for mapping grobs to contexts (and not the other way round), it would appear to make sense to implement it as a weak-key Scheme hash table. That way, it would at least clean itself up by and by as the key grobs are getting garbage-collected.

I am very unhappy with keeping pointers to possibly dead grobs in a C++ map that is in active use. And they keep alive contexts as values in the map that may never be looked at again.


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

Reply via email to