зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 091c5613b5cf (bug 1370644) for failing GTest XPCOMDeadlockDetectorTest.XPCOMSanity3DeathTest | Death test: Sanity3_Child(). r=backout
This commit is contained in:
Родитель
5aee2b122b
Коммит
943953276a
|
@ -301,12 +301,11 @@ BlockingResourceBase::CheckAcquire()
|
|||
out.AppendLiteral("\nDeadlock may happen for some other execution\n\n");
|
||||
}
|
||||
|
||||
// Only error out if we think a deadlock is imminent.
|
||||
if (maybeImminent) {
|
||||
NS_ERROR(out.get());
|
||||
} else {
|
||||
NS_WARNING(out.get());
|
||||
}
|
||||
// XXX can customize behavior on whether we /think/ deadlock is
|
||||
// XXX about to happen. for example:
|
||||
// XXX if (maybeImminent)
|
||||
// NS_RUNTIMEABORT(out.get());
|
||||
NS_ERROR(out.get());
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче