r13152 - gnucash/trunk/lib/libqof/qof - Don't allow the event
handler list to shrink while we're traversing it.
Chris Shoemaker
chris at cvs.gnucash.org
Wed Feb 8 01:04:52 EST 2006
Author: chris
Date: 2006-02-08 01:04:51 -0500 (Wed, 08 Feb 2006)
New Revision: 13152
Trac: http://svn.gnucash.org/trac/changeset/13152
Modified:
gnucash/trunk/lib/libqof/qof/gnc-event.c
Log:
Don't allow the event handler list to shrink while we're traversing it.
This change isn't ideal in the sense that the handler list is now a
monotonically increasing resource, but it's better than crashing when the
handler in node N+1 happens to be deleted while servicing the handler in
node N.
More information about the gnucash-patches
mailing list