summaryrefslogtreecommitdiff
path: root/modules/mono/managed_callable.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-04 21:24:27 +0200
committerGitHub <noreply@github.com>2022-04-04 21:24:27 +0200
commit1abb5ebf6532944a9fd0d1acf9ad61a0df1bb0ed (patch)
treea9d2df2e2df939c189135b1c36a01e06b37b80b2 /modules/mono/managed_callable.h
parent53317bbe146dd19a919685df8d846c55568daba1 (diff)
parentf8ab79e68af20e18e1d868b64d6dfd0c429bc554 (diff)
Merge pull request #59867 from akien-mga/refactor-zero-initialize-all-pointers
Diffstat (limited to 'modules/mono/managed_callable.h')
-rw-r--r--modules/mono/managed_callable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/managed_callable.h b/modules/mono/managed_callable.h
index ea7231f43b..d50a8a7b08 100644
--- a/modules/mono/managed_callable.h
+++ b/modules/mono/managed_callable.h
@@ -43,7 +43,7 @@
class ManagedCallable : public CallableCustom {
friend class CSharpLanguage;
MonoGCHandleData delegate_handle;
- GDMonoMethod *delegate_invoke;
+ GDMonoMethod *delegate_invoke = nullptr;
#ifdef GD_MONO_HOT_RELOAD
SelfList<ManagedCallable> self_instance = this;