From e7a6895d0d334d799e66bb3cba23775453b95a72 Mon Sep 17 00:00:00 2001 From: Victor Hugo Souza Date: Wed, 4 Aug 2021 15:54:15 +0300 Subject: [PATCH] FIX: Again masks were not being deleted, similar to old issue #224 --- invesalius/data/mask.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/invesalius/data/mask.py b/invesalius/data/mask.py index 1fe79c1..9b3598a 100644 --- a/invesalius/data/mask.py +++ b/invesalius/data/mask.py @@ -480,4 +480,5 @@ class Mask(): self.save_history(index, orientation, matrix.copy(), cp_mask) def __del__(self): + del self.matrix os.remove(self.temp_file) -- libgit2 0.21.2