Merge "Don't call exit() with threads running" am: b7383f2c5f am: 1ae9099377 am: 3aa3badfee
Change-Id: Ica640e49c31850cb63a71d62f8feefa08ca077bf
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user