зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1710018: Remove the shutdown assertion from pref_SetPref to just rely on the NS_ERROR_ILLEGAL_DURING_SHUTDOWN failure return. r=dom-worker-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D137171
This commit is contained in:
Родитель
fd6d94936e
Коммит
547252a993
|
@ -1586,9 +1586,6 @@ static nsresult pref_SetPref(const nsCString& aPrefName, PrefType aType,
|
|||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
if (AppShutdown::IsInOrBeyond(ShutdownPhase::XPCOMShutdownThreads)) {
|
||||
MOZ_ASSERT(
|
||||
false,
|
||||
"!AppShutdown::IsInOrBeyond(ShutdownPhase::XPCOMShutdownThreads)");
|
||||
return NS_ERROR_ILLEGAL_DURING_SHUTDOWN;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче