зеркало из https://github.com/mozilla/pjs.git
Make suspectCurrent assertion not fire constantly after we Fault. b=386664 r+sr=peterv
This commit is contained in:
Родитель
a8948ab3a2
Коммит
744bfc7a0c
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче