Save certificates _before_ calling PR_Cleanup(). Calling fsync() from
2008-01-21 Matthew Barnes <mbarnes@redhat.com>
* camel.c (camel_shutdown):
Save certificates _before_ calling PR_Cleanup(). Calling fsync()
from camel_certdb_save() after we've called PR_Cleanup() appears to
trigger a race between PR_Cleanup() -- which frees a lock protecting
thread bookmarking data -- and _pt_thread_death_internal() -- which
needs to temporarily lock the thread bookmarking data. (#445309)
svn path=/trunk/; revision=8399