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

Commit 18a8547c authored by Hans Boehm's avatar Hans Boehm Committed by Automerger Merge Worker
Browse files

Merge "Don't call exit() with threads running" am: b7383f2c am: 1ae90993...

Merge "Don't call exit() with threads running" am: b7383f2c am: 1ae90993 am: 3aa3badf am: f8bdfd17

Change-Id: I2e04ada3d0776091f20c1eeb508e76b33ea1a650
parents 287b599a f8bdfd17
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)