зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
56b39c6150
Коммит
67c0e7ceb2
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче