mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1204784: Upgrade the 'event queue is empty' assertion to a fatal one. r=froydnj
This commit is contained in:
parent
baf6c5c533
commit
dc668298f3
@ -32,8 +32,7 @@ nsEventQueue::~nsEventQueue()
|
||||
{
|
||||
// It'd be nice to be able to assert that no one else is holding the lock,
|
||||
// but NSPR doesn't really expose APIs for it.
|
||||
NS_ASSERTION(IsEmpty(),
|
||||
"Non-empty event queue being destroyed; events being leaked.");
|
||||
MOZ_ASSERT(IsEmpty());
|
||||
|
||||
if (mHead) {
|
||||
FreePage(mHead);
|
||||
|
Loading…
Reference in New Issue
Block a user