diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-01-01 11:46:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-01 11:46:14 +0100 |
commit | defdb5761d20739a0a469507d55fa75e06aa26c3 (patch) | |
tree | f651ab5501dd2e7df8ae3a1edc2762df6e51ffd6 /modules/mono/mono_gc_handle.cpp | |
parent | d6a1125254787681b6373e449c93d8ce15811a69 (diff) | |
parent | fe391393d4f907f110875e6571d6ba20a102ddee (diff) |
Merge pull request #15232 from neikeq/issue-15138-and-more
Mono fixes
Diffstat (limited to 'modules/mono/mono_gc_handle.cpp')
-rw-r--r-- | modules/mono/mono_gc_handle.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/mono/mono_gc_handle.cpp b/modules/mono/mono_gc_handle.cpp index 121392b3f8..d407aa6981 100644 --- a/modules/mono/mono_gc_handle.cpp +++ b/modules/mono/mono_gc_handle.cpp @@ -41,10 +41,7 @@ uint32_t MonoGCHandle::make_strong_handle(MonoObject *p_object) { uint32_t MonoGCHandle::make_weak_handle(MonoObject *p_object) { - return mono_gchandle_new_weakref( - p_object, - true /* track_resurrection: allows us to invoke _notification(NOTIFICATION_PREDELETE) while disposing */ - ); + return mono_gchandle_new_weakref(p_object, false); } Ref<MonoGCHandle> MonoGCHandle::create_strong(MonoObject *p_object) { |