Backout upgraded assertion in bug 1204784 to make it easier to star. r=me

This commit is contained in:
Kyle Huey 2016-01-24 17:02:27 -08:00
parent 8d74218925
commit 0d054c7a13

View File

@ -32,7 +32,8 @@ 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.
MOZ_ASSERT(IsEmpty());
NS_ASSERTION(IsEmpty(),
"Non-empty event queue being destroyed; events being leaked.");
if (mHead) {
FreePage(mHead);