summaryrefslogtreecommitdiff
path: root/modules/mono/glue/rid_glue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mono/glue/rid_glue.cpp')
-rw-r--r--modules/mono/glue/rid_glue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/rid_glue.cpp b/modules/mono/glue/rid_glue.cpp
index 5d66b8aa6f..6c002b5b9d 100644
--- a/modules/mono/glue/rid_glue.cpp
+++ b/modules/mono/glue/rid_glue.cpp
@@ -45,7 +45,7 @@ RID *godot_icall_RID_Ctor(Object *p_from) {
void godot_icall_RID_Dtor(RID *p_ptr) {
ERR_FAIL_NULL(p_ptr);
- _GodotSharp::get_singleton()->queue_dispose(p_ptr);
+ memdelete(p_ptr);
}
uint32_t godot_icall_RID_get_id(RID *p_ptr) {