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

Fix GDScript stack leak.

This commit is contained in:
Pāvels Nadtočajevs
2025-04-27 23:15:35 +03:00
parent e37c6261ea
commit 89c55f638d

View File

@@ -239,9 +239,7 @@ Variant GDScriptFunctionState::resume(const Variant &p_arg) {
GDScriptLanguage::get_singleton()->exit_function();
#ifdef DEBUG_ENABLED
_clear_stack();
#endif
}
return ret;