Commit e7a6895d0d334d799e66bb3cba23775453b95a72
1 parent
822770a9
Exists in
master
FIX: Again masks were not being deleted, similar to old issue #224
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
invesalius/data/mask.py
@@ -480,4 +480,5 @@ class Mask(): | @@ -480,4 +480,5 @@ class Mask(): | ||
480 | self.save_history(index, orientation, matrix.copy(), cp_mask) | 480 | self.save_history(index, orientation, matrix.copy(), cp_mask) |
481 | 481 | ||
482 | def __del__(self): | 482 | def __del__(self): |
483 | + del self.matrix | ||
483 | os.remove(self.temp_file) | 484 | os.remove(self.temp_file) |