Merge pull request #46307 from RandomShaper/fix_crash_mono_glue
Make glue generation shutdown more graceful
This commit is contained in:
@@ -2576,8 +2576,10 @@ void Main::force_redraw() {
|
||||
* so that the engine closes cleanly without leaking memory or crashing.
|
||||
* The order matters as some of those steps are linked with each other.
|
||||
*/
|
||||
void Main::cleanup() {
|
||||
ERR_FAIL_COND(!_start_success);
|
||||
void Main::cleanup(bool p_force) {
|
||||
if (!p_force) {
|
||||
ERR_FAIL_COND(!_start_success);
|
||||
}
|
||||
|
||||
EngineDebugger::deinitialize();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user