GNOME Bugzilla – Bug 347985
fix RhythmDB shutdown
Last modified: 2006-07-19 11:18:16 UTC
The recent leak fixes have unhidden a few issues with RhythmDB's shutdown. The most important of which is that various asynchronous operations aren't cancelled when it happens, which can cause the callbacks to be run after the db is finalised.
Created attachment 69158 [details] [review] patch This make it remove all outstanding idle/timeout sources, and cancels all gnomevfs operations. With this valgrinding tests/test-rhythmdb (with CK_FORK=no) only appears to leak the RhythmDBEntry structures (plus some GTK and GnomeVFS stuff which we can't really help).
Looks OK to me.
Committed to cvs.