diff options
author | Steven Moreland <smoreland@google.com> | 2019-04-29 10:00:04 -0700 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2019-04-29 10:00:35 -0700 |
commit | bb2f0fb3e74113e981938bec6eb4775d9fafa7ec (patch) | |
tree | 1f2b5e0c9e67f9585d1114dc43ab4aa99056839b | |
parent | 4a208ae14a83ddcb9ffe53dd43e44c21aac5fc54 (diff) | |
download | base-bb2f0fb3e74113e981938bec6eb4775d9fafa7ec.tar.gz |
HwBinder: call _exit over exit.
Avoid calls to static destructors.
Fixes: 131589658
Test: TH
Change-Id: I52ddcda75e902965f8d4a13f4851e6bdcbe4b0e5
-rw-r--r-- | core/jni/android_os_HwBinder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_os_HwBinder.cpp b/core/jni/android_os_HwBinder.cpp index 9c60e6bd8565..129b8af85ffe 100644 --- a/core/jni/android_os_HwBinder.cpp +++ b/core/jni/android_os_HwBinder.cpp @@ -188,7 +188,7 @@ status_t JHwBinder::onTransact( if (env->IsInstanceOf(excep, gErrorClass)) { /* It's an error */ LOG(ERROR) << "Forcefully exiting"; - exit(1); + _exit(1); } else { LOG(ERROR) << "Uncaught exception!"; } |