Commit 21030b69260a99d4c1cc65d6115e3e1368d7ca3a
1 parent
074a051b
Exists in
master
Mask file was not being deleted when user remove the mask (fix #224)
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
invesalius/data/mask.py
@@ -386,4 +386,5 @@ class Mask(): | @@ -386,4 +386,5 @@ class Mask(): | ||
386 | def __del__(self): | 386 | def __del__(self): |
387 | if self.is_shown: | 387 | if self.is_shown: |
388 | self.history._config_undo_redo(False) | 388 | self.history._config_undo_redo(False) |
389 | + del self.matrix | ||
389 | os.remove(self.temp_file) | 390 | os.remove(self.temp_file) |