mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1709012 - Remove NS_ASSERTION about executor queue being empty upon destruction. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D162701
This commit is contained in:
parent
0c706ad429
commit
3e13c693ee
@ -141,8 +141,16 @@ nsHtml5TreeOpExecutor::~nsHtml5TreeOpExecutor() {
|
||||
}
|
||||
}
|
||||
}
|
||||
NS_ASSERTION(NS_FAILED(mBroken) || mOpQueue.IsEmpty(),
|
||||
"Somehow there's stuff in the op queue.");
|
||||
// We used to have an `NS_ASSERTION` here that asserted
|
||||
// that either `mBroken` is true or `mOpQueue` is empty.
|
||||
// Sometimes a tree op executor ended up being cycle collected
|
||||
// with the assertion firing. It is not understood what
|
||||
// code path abandons an instance of the tree op executor
|
||||
// without terminating it so that the cycle collector sees
|
||||
// it with stuff still in the queue. The assertion was removed
|
||||
// to avoid sheriffing the assertion failure without a path
|
||||
// to understanding how the object gets abandoned to cycle
|
||||
// collection.
|
||||
}
|
||||
|
||||
// nsIContentSink
|
||||
|
Loading…
Reference in New Issue
Block a user