From f95fbc8a702888ef55df113fcf1319b8257f8dc7 Mon Sep 17 00:00:00 2001 From: fysx Date: Mon, 16 Dec 2013 23:58:45 +0100 Subject: [PATCH] =?UTF-8?q?forcing=20exit=20of=20the=20app=20when=20quitti?= =?UTF-8?q?ng=20L=C3=B6ve?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jni/love/src/love.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jni/love/src/love.cpp b/jni/love/src/love.cpp index c8a0749b..27c03a73 100644 --- a/jni/love/src/love.cpp +++ b/jni/love/src/love.cpp @@ -246,6 +246,12 @@ int main(int argc, char **argv) delete [] hack_argv; } #endif // LOVE_LEGENDARY_UTF8_ARGV_HACK || LOVE_LEGENDARY_APP_ARGV_HACK + SDL_Quit(); + +#ifdef __ANDROID__ + exit(retval); +#endif + return retval; }