diff options
author | Thanasis Antoniou | 2019-09-23 20:51:44 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-09-23 20:51:44 +0300 |
commit | b4b9ad1743dcf97999b7fda4860aa964d119118c (patch) | |
tree | b949d47864625117467c024c384434ae6f3cc80f /backends/platform/android | |
parent | d39eca7e39f322b378845aba9ce7c09bc477987d (diff) | |
download | scummvm-rg350-b4b9ad1743dcf97999b7fda4860aa964d119118c.tar.gz scummvm-rg350-b4b9ad1743dcf97999b7fda4860aa964d119118c.tar.bz2 scummvm-rg350-b4b9ad1743dcf97999b7fda4860aa964d119118c.zip |
ANDROID: Remove duplicate _system->quit() from JNI::Destroy()
Since it is already called in Jni::main after scummvm_main() returns. The second call in destroy caused crashes on some devices.
Diffstat (limited to 'backends/platform/android')
-rw-r--r-- | backends/platform/android/jni.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/backends/platform/android/jni.cpp b/backends/platform/android/jni.cpp index db91fc7726..5e4c116c82 100644 --- a/backends/platform/android/jni.cpp +++ b/backends/platform/android/jni.cpp @@ -562,7 +562,6 @@ void JNI::destroy(JNIEnv *env, jobject self) { delete _asset_archive; _asset_archive = 0; - _system->quit(); delete _system; g_system = 0; _system = 0; |