[fix] Exit after crashing to avoid unknown states (#109)
[fix] Exit after crashing to avoid unknown states (#109)

Related to https://github.com/koreader/koreader/issues/4543

Exit android_main if the application fails trying to load assets, libraries or trying to run a lua file.

This makes possible to start the activity again when requested without having to "force kill" the application manually.
koreader/android-luajit-launcher,koreader/android-luajit-launcher,koreader/android-luajit-launcher,koreader/android-luajit-launcher