summaryrefslogtreecommitdiff
path: root/modules/mono/signal_awaiter_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mono/signal_awaiter_utils.h')
-rw-r--r--modules/mono/signal_awaiter_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/mono/signal_awaiter_utils.h b/modules/mono/signal_awaiter_utils.h
index 868d33e335..c550315a23 100644
--- a/modules/mono/signal_awaiter_utils.h
+++ b/modules/mono/signal_awaiter_utils.h
@@ -40,7 +40,7 @@ Error gd_mono_connect_signal_awaiter(Object *p_source, const StringName &p_signa
class SignalAwaiterCallable : public CallableCustom {
ObjectID target_id;
- Ref<MonoGCHandle> awaiter_handle;
+ MonoGCHandleData awaiter_handle;
StringName signal;
public:
@@ -64,6 +64,7 @@ public:
void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, Callable::CallError &r_call_error) const override;
SignalAwaiterCallable(Object *p_target, MonoObject *p_awaiter, const StringName &p_signal);
+ ~SignalAwaiterCallable();
};
class EventSignalCallable : public CallableCustom {