Skip to content

Commit

Permalink
Remove some big memory attributes from all defcon objects on delete
Browse files Browse the repository at this point in the history
  • Loading branch information
typemytype committed Feb 21, 2024
1 parent b21525a commit 665311e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Lib/defcon/objects/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ def _init(self):

def __del__(self):
self.endSelfNotificationObservation()
self._dispatcher = None
self._dataOnDisk = None
self._dataOnDiskTimeStamp = None
self._undoManager = None
self._representations = None

# ------
# Parent
Expand Down

0 comments on commit 665311e

Please sign in to comment.