Skip to content

Is there any way to run a Rust function on Dart VM shutdown? #51

Answered by shekohex
temeddix asked this question in Q&A
Discussion options

You must be logged in to vote

If there a way to do some actions/lifecycle-hooks when the user closes the flutter application then you can just call your rust function from there, I do not see any reason why that wouldn't work.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by shekohex
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@shekohex
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #50 on October 05, 2023 14:45.