How to clean bevy up after app run ? #10800
Unanswered
fantasyRqg
asked this question in
Q&A
Replies: 0 comments
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.
-
I managed to run bevy with android surfaceview and enable to reenter bevy with the same surfaceview.
But after serveral tests I noticed that bevy doesn't release all the resources it allocated.
Like,
Resource
asset, I store someImage
handle in it. After serveral runs, the graphic memory usage keep increasing.And I also find
std::mem::forget
used in some cases which I think is impossible to release.Beta Was this translation helpful? Give feedback.
All reactions