GDScript: Fix stack overflow when using multiple await

This commit is contained in:
George Marques committed 2022-05-27 09:31:37 -03:00
1 parent 8a21f7231f
commit 328aadc0ef
2 files changed
+15 -10

No files matched your search

+2
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
}