Bug 1377738 - Disable assertion that chunk pools are empty on destruction for XPCShell failures on Windows 2012 r=me

This commit is contained in:
Jon Coppeard 2017-07-07 18:41:37 +01:00
parent ed3169ba6b
commit eb904f98f1

View File

@ -59,7 +59,10 @@ class ChunkPool
public:
ChunkPool() : head_(nullptr), count_(0) {}
~ChunkPool() { MOZ_ASSERT(empty()); }
~ChunkPool() {
// TODO: We should be able to assert that the chunk pool is empty but
// this causes XPCShell test failures on Windows 2012. See bug 1379232.
}
bool empty() const { return !head_; }
size_t count() const { return count_; }