зеркало из https://github.com/mozilla/gecko-dev.git
Make suspectCurrent assertion not fire constantly after we Fault. b=386664 r+sr=peterv
This commit is contained in:
Родитель
68c77f6e8d
Коммит
91e460c07f
|
@ -2390,7 +2390,8 @@ nsCycleCollector_suspectCurrent(nsISupports *n)
|
|||
{
|
||||
if (sCollector) {
|
||||
PRBool res = sCollector->Suspect(n, PR_TRUE);
|
||||
NS_ASSERTION(res, "suspectCurrent should not fail");
|
||||
NS_ASSERTION(res || sCollector->mParams.mDoNothing,
|
||||
"suspectCurrent should not fail");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче