diff options
| author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-06-26 21:03:42 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-07-04 03:08:29 +0200 |
| commit | 4739cb8c0003a7c35220ce43d8263df617c6fbe0 (patch) | |
| tree | 257bd9f9e4951c0b90db9220fc3eeb1bf45b5f65 /modules/mono/mono_gc_handle.cpp | |
| parent | 68f7cf13c7326c077cc6ff8a6a267ae2610c4519 (diff) | |
| download | redot-engine-4739cb8c0003a7c35220ce43d8263df617c6fbe0.tar.gz | |
Mono: Pending exceptions and cleanup
Diffstat (limited to 'modules/mono/mono_gc_handle.cpp')
| -rw-r--r-- | modules/mono/mono_gc_handle.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/mono/mono_gc_handle.cpp b/modules/mono/mono_gc_handle.cpp index 4e82bcd03e..12109045e0 100644 --- a/modules/mono/mono_gc_handle.cpp +++ b/modules/mono/mono_gc_handle.cpp @@ -34,15 +34,12 @@ uint32_t MonoGCHandle::make_strong_handle(MonoObject *p_object) { - return mono_gchandle_new( - p_object, - false /* do not pin the object */ - ); + return mono_gchandle_new(p_object, /* pinned: */ false); } uint32_t MonoGCHandle::make_weak_handle(MonoObject *p_object) { - return mono_gchandle_new_weakref(p_object, false); + return mono_gchandle_new_weakref(p_object, /* track_resurrection: */ false); } Ref<MonoGCHandle> MonoGCHandle::create_strong(MonoObject *p_object) { |
