Przeglądaj źródła

Merge pull request #53950 from qarmin/memory_leak_gdscript

Rémi Verschelde 4 lat temu
rodzic
commit
c5f4bf2077
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      core/object/method_bind.cpp

+ 0 - 2
core/object/method_bind.cpp

@@ -130,9 +130,7 @@ MethodBind::MethodBind() {
 }
 
 MethodBind::~MethodBind() {
-#ifdef DEBUG_METHODS_ENABLED
 	if (argument_types) {
 		memdelete_arr(argument_types);
 	}
-#endif
 }