How to intercept Bevy's AppExit event for long enough to do necessary cleanup ops #17002
Unanswered
crabdancing
asked this question in
Q&A
Replies: 1 comment
-
You can configure the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I experimented a bit, but I wasn't able to figure out how to do this with the basic documentation. There are several things I might want to do, including writing files to disk before exit. The problem is, the Bevy window seems to just send
AppExit
directly and doesn't give me a chance to activate systems in response?Edit: I am aware that this question was asked before (in 2022), but the answer is no longer applicable as of Bevy 0.15.
Beta Was this translation helpful? Give feedback.
All reactions