summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_function.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2023-02-03 16:13:06 +0100
committerGitHub <noreply@github.com>2023-02-03 16:13:06 +0100
commit604493eb6ee3def65aca089c1d4bc71ea03ca19a (patch)
tree910adcfd1435a0297e6c5c7b05b2b538e8cc8e0d /modules/gdscript/gdscript_function.h
parenteb91e909a7e2a4d905b1511de9cb53d949df82fc (diff)
parente9a3e49086d466e4beb3d8458149b58f5f6115bd (diff)
downloadredot-engine-604493eb6ee3def65aca089c1d4bc71ea03ca19a.tar.gz
Merge pull request #65910 from KoBeWi/gdsus
Cleanup function state connections when destroying instance
Diffstat (limited to 'modules/gdscript/gdscript_function.h')
-rw-r--r--modules/gdscript/gdscript_function.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_function.h b/modules/gdscript/gdscript_function.h
index 37416a734d..f45c1f9577 100644
--- a/modules/gdscript/gdscript_function.h
+++ b/modules/gdscript/gdscript_function.h
@@ -628,6 +628,7 @@ public:
Variant resume(const Variant &p_arg = Variant());
void _clear_stack();
+ void _clear_connections();
GDScriptFunctionState();
~GDScriptFunctionState();