зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1244883 - Add Nightly-/Aurora-only crash for AsyncTransactionWaiter timeouts - r=nical
This commit is contained in:
Родитель
c1d60e2f39
Коммит
5d094bc8b7
|
@ -138,6 +138,7 @@ enum class LogReason : int {
|
|||
TextureAliveAfterShutdown,
|
||||
InvalidContext,
|
||||
InvalidCommandList,
|
||||
AsyncTransactionTimeout,
|
||||
// End
|
||||
MustBeLessThanThis = 101,
|
||||
};
|
||||
|
|
|
@ -34,6 +34,10 @@ AsyncTransactionWaiter::WaitComplete()
|
|||
if (mWaitCount > 0) {
|
||||
printf_stderr("Timeout of waiting transaction complete.");
|
||||
}
|
||||
|
||||
if (count == maxCount) {
|
||||
gfxDevCrash(LogReason::AsyncTransactionTimeout) << "Bug 1244883: AsyncTransactionWaiter timed out.";
|
||||
}
|
||||
}
|
||||
|
||||
Atomic<uint64_t> AsyncTransactionTracker::sSerialCounter(0);
|
||||
|
|
Загрузка…
Ссылка в новой задаче