Possible Flask Application Crash Due To Godot

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By aakie98

So I have a flask application which launches various Godot games as sub process.

Recently I have encountered a lot of crashes in my application, that happens right after the game quits. The game works perfectly though. I have used the _exit_tree() method to free up the resources in case it is the reason behind these crashes but there’s no difference.

I get these messages from Godot after the game ends - -

ERROR: Condition “_first != nullptr” is true.at: ~List (./core/self_list.h:108)ERROR: Condition “_first != nullptr” is true.at: ~List (./core/self_list.h:108)WARNING: ObjectDB instances leaked at exit (run with --verbose for details).at: cleanup (core/object.cpp:2064)ERROR: Resources still in use at exit (run with --verbose for details).at: clear (core/resource.cpp:417)

Any idea what could be the reason behind these crashes?