1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

GDScript: Fix stack overflow when using multiple await

This commit is contained in:
George Marques
2022-05-27 09:13:25 -03:00
parent 8a21f7231f
commit 328aadc0ef
2 changed files with 15 additions and 10 deletions

View File

@@ -270,6 +270,8 @@ Variant GDScriptFunctionState::resume(const Variant &p_arg) {
if (EngineDebugger::is_active()) {
GDScriptLanguage::get_singleton()->exit_function();
}
_clear_stack();
#endif
}