diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-09-05 16:07:11 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-09-05 16:12:13 +0300 |
commit | 2c619267d63c963f48472b290c83c60f664a7bc0 (patch) | |
tree | f060c2467b1fdee271dc13fc50256e74a8da1aa6 /sal | |
parent | idlc: clear include file set in Idlc::reset(): (diff) | |
download | core-2c619267d63c963f48472b290c83c60f664a7bc0.tar.gz core-2c619267d63c963f48472b290c83c60f664a7bc0.zip |
Detach thread before returning from android_main()
Change-Id: I593e94e90971b6be681de48dce74f7df2293c10e
Diffstat (limited to 'sal')
-rw-r--r-- | sal/android/lo-bootstrap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/android/lo-bootstrap.c b/sal/android/lo-bootstrap.c index eace9b7f32a7..8cebea9b4098 100644 --- a/sal/android/lo-bootstrap.c +++ b/sal/android/lo-bootstrap.c @@ -2009,6 +2009,7 @@ android_main(struct android_app* state) } lo_main(lo_main_argc, lo_main_argv); + nRet = (*(*state->activity->vm)->DetachCurrentThread)(state->activity->vm); fprintf (stderr, "exit android_main\n"); } |