Why does Bevy panic the main thread and stop the whole program when the local thread is panicked? #7167
Unanswered
duongtran138
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.
-
This is my code: https://gist.github.com/duongtran138/f52e6acbacc89c61e3a4db0afb0568d3
When Postgres Database crashes, the local thread that runs the function
spawn_tasks
is not acquired the connection and is panicked. After that, why does Bevy panic the main thread and stop the whole program?Can anyone help answer this question? Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions