aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--py_wrap_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py_wrap_generator.py b/py_wrap_generator.py
index 204b9146c..f26c15070 100644
--- a/py_wrap_generator.py
+++ b/py_wrap_generator.py
@@ -805,7 +805,7 @@ class WClass:
if self.link_type != link_types.global_list:
text += "\n\t\t~" + self.name + "()\n\t\t{"
- text += "\n\t\t\tdelete(this->ref_obj);\n\t\t}\n"
+ text += "\n\t\t\t//delete(this->ref_obj);\n\t\t}\n"
for con in self.found_constrs:
text += con.gen_decl()