If you are using profiles in your embedding app, this patch on this bug
may affect you. A change was made to cookies at some point to make it
write out the cookies when the application quits rather than
continuously as cookies are changed. Problem is, it was doing it on
"xpcom-shutdown" which happens after the profile may have gone away. The
patch on the bug makes it so that cookies are written out when receiving
notification that a profile is being shut down.
What this means for your embedding app is that:
1) If it calls nsIProfile::SetCurrentProfile() as part of starting up,
it now has to call
nsIProfile::ShutDownCurrentProfile(nsIProfile::SHUTDOWN_PERSIST);
as part of shutting down.
or
2) If it uses the profdirserviceprovider lib instead of profile mgr, it
needs to send the notification itself with:
nsIObserverService::NotifyObservers("profile-before-change"); I will
probably add a convienience method to that lib in order to hide this
detail, but I think bug 175320 should be landed first.
-Conrad
