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

Commit 90982588 authored by Josh Gao's avatar Josh Gao
Browse files

Hack around b/36066697.

Avoid calling libbinder's static destructors by calling _exit instead
of returning in main.

Bug: http://b/36066697
Test: treehugger
Change-Id: I81dd50453f1ea64d97ec97d207fff732b3c62512
parent 8a95d49d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -214,5 +214,7 @@ int main(int argc, char** argv)
    if (mapbase != MAP_FAILED) {
        munmap((void *)mapbase, mapsize);
    }
    return 0;

    // b/36066697: Avoid running static destructors.
    _exit(1);
}