Fix GDScript stack leak.
This commit is contained in:
parent
e37c6261ea
commit
89c55f638d
1 changed files with 0 additions and 2 deletions
|
|
@ -239,9 +239,7 @@ Variant GDScriptFunctionState::resume(const Variant &p_arg) {
|
||||||
|
|
||||||
GDScriptLanguage::get_singleton()->exit_function();
|
GDScriptLanguage::get_singleton()->exit_function();
|
||||||
|
|
||||||
#ifdef DEBUG_ENABLED
|
|
||||||
_clear_stack();
|
_clear_stack();
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue