From 21030b69260a99d4c1cc65d6115e3e1368d7ca3a Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Tue, 24 Mar 2020 15:06:13 -0300 Subject: [PATCH] Mask file was not being deleted when user remove the mask (fix #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 40df971..b36a6e9 100644 --- a/invesalius/data/mask.py +++ b/invesalius/data/mask.py @@ -386,4 +386,5 @@ class Mask(): def __del__(self): if self.is_shown: self.history._config_undo_redo(False) + del self.matrix os.remove(self.temp_file) -- libgit2 0.21.2