diff options
| author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-10-26 06:59:08 +0100 |
|---|---|---|
| committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-10-26 07:00:51 +0100 |
| commit | 34960cb9360ec68d23afdde5b9519630183a31b4 (patch) | |
| tree | 5e1a2cd0ecbba5981b5a464184836d53aec162f6 /modules/mono/csharp_script.h | |
| parent | d5073c6b4ce864f169e4e1ad18d411fe5928c766 (diff) | |
| download | redot-engine-34960cb9360ec68d23afdde5b9519630183a31b4.tar.gz | |
C#: Fix custom event signals crash on hot-reload
Cleanup and re-initialization of event signals before
and after hot-reload should be working correctly now.
Diffstat (limited to 'modules/mono/csharp_script.h')
| -rw-r--r-- | modules/mono/csharp_script.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.h b/modules/mono/csharp_script.h index cfe070a371..316fd78f2a 100644 --- a/modules/mono/csharp_script.h +++ b/modules/mono/csharp_script.h @@ -288,7 +288,7 @@ public: void mono_object_disposed(MonoObject *p_obj); /* - * If 'r_delete_owner' is set to true, the caller must memdelete the script instance's owner. Otherwise, ifevent_signal + * If 'r_delete_owner' is set to true, the caller must memdelete the script instance's owner. Otherwise, if * 'r_remove_script_instance' is set to true, the caller must destroy the script instance by removing it from its owner. */ void mono_object_disposed_baseref(MonoObject *p_obj, bool p_is_finalizer, bool &r_delete_owner, bool &r_remove_script_instance); |
