mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-10 09:58:30 +00:00
Backout upgraded assertion in bug 1204784 to make it easier to star. r=me
This commit is contained in:
parent
472aadca54
commit
c82b64a119
@ -32,7 +32,8 @@ nsEventQueue::~nsEventQueue()
|
|||||||
{
|
{
|
||||||
// It'd be nice to be able to assert that no one else is holding the lock,
|
// 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.
|
// but NSPR doesn't really expose APIs for it.
|
||||||
MOZ_ASSERT(IsEmpty());
|
NS_ASSERTION(IsEmpty(),
|
||||||
|
"Non-empty event queue being destroyed; events being leaked.");
|
||||||
|
|
||||||
if (mHead) {
|
if (mHead) {
|
||||||
FreePage(mHead);
|
FreePage(mHead);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user