mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1116559 - Remove the code to handle shutdown-cleanse from the cert override service code; r=keeler
shutdown-cleanse has not been a thing for quite a while.
This commit is contained in:
parent
03f8fc9f91
commit
ae3cd2efdb
@ -134,18 +134,7 @@ nsCertOverrideService::Observe(nsISupports *,
|
||||
// The profile is about to change,
|
||||
// or is going away because the application is shutting down.
|
||||
|
||||
ReentrantMonitorAutoEnter lock(monitor);
|
||||
|
||||
if (!nsCRT::strcmp(aData, MOZ_UTF16("shutdown-cleanse"))) {
|
||||
RemoveAllFromMemory();
|
||||
// delete the storage file
|
||||
if (mSettingsFile) {
|
||||
mSettingsFile->Remove(false);
|
||||
}
|
||||
} else {
|
||||
RemoveAllFromMemory();
|
||||
}
|
||||
|
||||
RemoveAllFromMemory();
|
||||
} else if (!nsCRT::strcmp(aTopic, "profile-do-change")) {
|
||||
// The profile has already changed.
|
||||
// Now read from the new profile location.
|
||||
|
Loading…
Reference in New Issue
Block a user