Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65e8f0ad authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Workaround libmemunreachable lockup"

parents f1d9a7e6 553ae6ab
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -67,6 +67,12 @@ static void logUnreachable(initializer_list<UnreachableMemoryInfo> infolist) {
}

void LeakChecker::checkForLeaks() {
    // TODO: Re-enable, disabled to workaround b/34586922
    if ((true)) {
        cout << "checkForLeaks disabled, see b/34586922" << endl;
        return;
    }

    // TODO: Until we can shutdown the RT thread we need to do this in
    // two passes as GetUnreachableMemory has limited insight into
    // thread-local caches so some leaks will not be properly tagged as leaks