mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1116555 - Remove the code to handle shutdown-cleanse from the cookie service; r=mcmanus
shutdown-cleanse has not been a thing for quite a while.
This commit is contained in:
parent
fa1f2eb4ab
commit
3dbef5fefb
@ -1551,11 +1551,6 @@ nsCookieService::Observe(nsISupports *aSubject,
|
||||
if (!strcmp(aTopic, "profile-before-change")) {
|
||||
// The profile is about to change,
|
||||
// or is going away because the application is shutting down.
|
||||
if (mDBState && mDBState->dbConn &&
|
||||
!nsCRT::strcmp(aData, MOZ_UTF16("shutdown-cleanse"))) {
|
||||
// Clear the cookie db if we're in the default DBState.
|
||||
RemoveAll();
|
||||
}
|
||||
|
||||
// Close the default DB connection and null out our DBStates before
|
||||
// changing.
|
||||
|
Loading…
Reference in New Issue
Block a user