Bug 808379 - fix Assertion failure: isEmpty(), at ../../dist/include/mozilla/LinkedList.h:258 causing Thunderbird crash since landing of fix to bug 803688. r=jlebar

Clear the sDiscardableImages linked list in DiscardTracker::Shutdown() so that the list destructor finds an empty array, which is required after bug 803688.
This commit is contained in:
aceman 2012-11-04 23:20:52 +00:00
parent bfe09dc91a
commit cc2af4f753

View File

@ -102,6 +102,10 @@ DiscardTracker::Shutdown()
sTimer->Cancel();
sTimer = NULL;
}
// Clear the sDiscardableImages linked list so that its destructor
// (LinkedList.h) finds an empty array, which is required after bug 803688.
DiscardAll();
}
/*