controls/DebugVariablePanel/GraphButton.py
branchpython3
changeset 3765 88fe6fc9fd38
parent 3750 f62625418bff
--- a/controls/DebugVariablePanel/GraphButton.py	Fri Oct 28 18:59:04 2022 +0800
+++ b/controls/DebugVariablePanel/GraphButton.py	Fri Oct 28 19:39:17 2022 +0800
@@ -58,13 +58,6 @@
         # Save reference to callback function
         self.Callback = callback
 
-    def __del__(self):
-        """
-        Destructor
-        """
-        # Remove reference to callback function
-        self.callback = None
-
     def SetBitmap(self, bitmap):
         """
         Set bitmap to use for button