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

Commit 343a5d37 authored by Hans Boehm's avatar Hans Boehm Committed by Automerger Merge Worker
Browse files

Merge "Don't call exit() with threads running" into rvc-dev am: f4d8d90a

Change-Id: I4dd8f54b7927b92bca41190ce6633871ea5fb2e1
parents c43f0e5d f4d8d90a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1244,12 +1244,11 @@ void AndroidRuntime::exit(int code)
{
    if (mExitWithoutCleanup) {
        ALOGI("VM exiting with result code %d, cleanup skipped.", code);
        ::_exit(code);
    } else {
        ALOGI("VM exiting with result code %d.", code);
        onExit(code);
        ::exit(code);
    }
    ::_exit(code);
}

void AndroidRuntime::onVmCreated(JNIEnv* env)