зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1397231 - Skip new URLClassifierLocalChild when ContentChild is shutting down r=Ehsan
MozReview-Commit-ID: HRv5DpiPwmB --HG-- extra : rebase_source : d5ffe6d1f9520a9031e9c5112e1bc424cf366407
This commit is contained in:
Родитель
98d8eae470
Коммит
a8c2c418b0
|
@ -1800,7 +1800,9 @@ nsUrlClassifierDBService::AsyncClassifyLocalWithTables(nsIURI *aURI,
|
|||
using namespace mozilla::ipc;
|
||||
|
||||
ContentChild* content = ContentChild::GetSingleton();
|
||||
MOZ_ASSERT(content);
|
||||
if (NS_WARN_IF(!content || content->IsShuttingDown())) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
auto actor = new URLClassifierLocalChild();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче