GDScript: Fix stack overflow when using multiple await
This commit is contained in:
@ -270,6 +270,8 @@ Variant GDScriptFunctionState::resume(const Variant &p_arg) {
|
||||
if (EngineDebugger::is_active()) {
|
||||
GDScriptLanguage::get_singleton()->exit_function();
|
||||
}
|
||||
|
||||
_clear_stack();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user