mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
GDScript: Fix stack overflow when using multiple await
This commit is contained in:
parent
8a21f7231f
commit
328aadc0ef
2 changed files with 15 additions and 10 deletions
|
|
@ -270,6 +270,8 @@ Variant GDScriptFunctionState::resume(const Variant &p_arg) {
|
|||
if (EngineDebugger::is_active()) {
|
||||
GDScriptLanguage::get_singleton()->exit_function();
|
||||
}
|
||||
|
||||
_clear_stack();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue