diff options
| author | Yasha Borevich <johndoe@example.com> | 2018-06-28 18:40:11 +0300 |
|---|---|---|
| committer | Yasha Borevich <johndoe@example.com> | 2018-06-28 23:55:30 +0300 |
| commit | 30317296af1124e2092d3acd374ca0246afd5536 (patch) | |
| tree | b8e613053413c1a1be0122f3e6614f5bb3b5499f /modules/gdscript/gdscript_function.h | |
| parent | 54988df9ce0227d9f933f6f82e2f9f1d35df28c0 (diff) | |
| download | redot-engine-30317296af1124e2092d3acd374ca0246afd5536.tar.gz | |
Fix memory leak in GDScript during infinnity loops with yields
Diffstat (limited to 'modules/gdscript/gdscript_function.h')
| -rw-r--r-- | modules/gdscript/gdscript_function.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_function.h b/modules/gdscript/gdscript_function.h index 836325f0fe..770d5c8733 100644 --- a/modules/gdscript/gdscript_function.h +++ b/modules/gdscript/gdscript_function.h @@ -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(); |
