You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-06 17:25:19 +00:00
Make glue generation shutdown more graceful
(cherry picked from commit 23907e6f19)
This commit is contained in:
committed by
Rémi Verschelde
parent
65528a63fb
commit
6f4f49c1d5
@@ -2206,9 +2206,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);
|
||||
}
|
||||
|
||||
if (script_debugger) {
|
||||
// Flush any remaining messages
|
||||
|
||||
Reference in New Issue
Block a user