-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exiting the app #154
Comments
@zarik5 Thanks for reporting! I have definitely been thinking about calling it after We can perform and publish this as a breaking change as it might potentially break an application that spawns its own thread while accidentally returning from |
We've had quite the discussion in #160 and automatically calling I'll think about how to best resolve this issue; probably by updating some examples and documentation to explicitly call this function. |
Fixes an issue with current version of the ndk-glue library not automatically calling finish at the of an android main tagged function (more details here: rust-mobile/ndk#154)
Fixes an issue with current version of the ndk-glue library not automatically calling finish at the of an android main tagged function (more details here: rust-mobile/ndk#154)
Fixes an issue with current version of the ndk-glue library not automatically calling finish at the of an android main tagged function (more details here: rust-mobile/ndk#154)
Fixes an issue with current version of the ndk-glue library not automatically calling finish at the of an android main tagged function (more details here: rust-mobile/ndk#154)
Fixes an issue with current version of the ndk-glue library not automatically calling finish at the of an android main tagged function (more details here: rust-mobile/ndk#154)
Fixes an issue with current version of the ndk-glue library not automatically calling finish at the of an android main tagged function (more details here: rust-mobile/ndk#154)
closing for now, please reopen in https://github.com/rust-mobile/android-activity if still relevant |
Fixes an issue with current version of the ndk-glue library not automatically calling finish at the of an android main tagged function (more details here: rust-mobile/ndk#154)
Fixes an issue with current version of the ndk-glue library not automatically calling finish at the of an android main tagged function (more details here: rust-mobile/ndk#154)
When the function tagged with
#[ndk_glue::main]
returns, the app hangs, unlessndk_glue::native_activity().finish()
is called just before. Should thendk_glue::main
appendndk_glue::native_activity().finish()
at the end of the function?The text was updated successfully, but these errors were encountered: