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

Fix memory leak in GDScript during infinnity loops with yields

This commit is contained in:
Yasha Borevich
2018-06-28 18:40:11 +03:00
parent 54988df9ce
commit 30317296af
2 changed files with 11 additions and 11 deletions

View File

@@ -234,7 +234,7 @@ class GDScriptFunctionState : public Reference {
GDScriptFunction *function;
GDScriptFunction::CallState state;
Variant _signal_callback(const Variant **p_args, int p_argcount, Variant::CallError &r_error);
Ref<GDScriptFunctionState> previous_state;
Ref<GDScriptFunctionState> first_state;
protected:
static void _bind_methods();