Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ndk-glue: Finish native activity after returning from
main()
When an application returns its control flow back from `main()` it is generally assumed to be done polling on the looper and wishes to terminate. Android is made aware of this by calling `ANativeActivity_finish`, otherwise it'll continue sending input events and eventually ANR as the app didn't consume them anymore.
- Loading branch information