commit c5da1f9e6dc21588b13579943235c25c91b2a187
parent 56a2c00d85f890f3c6084303e70bb1b124b8be4e
Author: Andrew McCreight <continuation@gmail.com>
Date: Tue, 28 Oct 2025 22:31:43 +0000
Bug 1996848 - Disable AssertEmpty() from release builds for crashing frequently. r=gstoll
Differential Revision: https://phabricator.services.mozilla.com/D270421
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/netwerk/cache2/Dictionary.h b/netwerk/cache2/Dictionary.h
@@ -280,7 +280,7 @@ class DictionaryOrigin : public nsICacheEntryMetaDataVisitor {
void DumpEntries();
void Clear();
void AssertEmpty() const {
- MOZ_DIAGNOSTIC_ASSERT(mEntries.IsEmpty() && mPendingEntries.IsEmpty());
+ MOZ_ASSERT(mEntries.IsEmpty() && mPendingEntries.IsEmpty());
}
private: