Bug 1471310: Disable the emptiness assertion in ProtectedRegionTree. r=nbp

This is causing random failures with clang-cl and per the bug discussion we have better mechanisms to catch leaks.
This commit is contained in:
David Major 2018-06-29 13:28:09 -04:00
Родитель 56b39c6150
Коммит 67c0e7ceb2
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -78,11 +78,7 @@ class ProtectedRegionTree
}
~ProtectedRegionTree() {
// See Bug 1445619: Currently many users of the JS engine are leaking
// the world, unfortunately LifoAlloc owned by JSRuntimes have
// registered memory regions.
sProtectedRegionsInit = false;
MOZ_ASSERT_IF(!JSRuntime::hasLiveRuntimes(), tree.empty());
}
void insert(uintptr_t addr, size_t size) {