ref clean up
#!/usr/bin/python
from Qt import QtWidgets
-from .utils import minimize_node_ref_count
from ..constants import IN_PORT, OUT_PORT
@@ -147,9 +146,6 @@ class NodeRemovedCmd(QtWidgets.QUndoCommand):
output_ports = self.node.output_ports()
self.outputs = [(p, p.connected_ports()) for p in output_ports]
- def __del__(self):
- minimize_node_ref_count(self.node)
-
def undo(self):
self.model.nodes[self.node.id] = self.node
self.scene.addItem(self.node.view)
