Commit 619c9b7c03bbca2e17fc932f12a16559dd9a0704
1 parent
5bbbf954
Exists in
master
and in
3 other branches
Removing the temp file created by invesalius
Showing
2 changed files
with
4 additions
and
0 deletions
Show diff stats
invesalius/data/mask.py
invesalius/data/slice_.py
@@ -243,6 +243,9 @@ class Slice(object): | @@ -243,6 +243,9 @@ class Slice(object): | ||
243 | 243 | ||
244 | def CloseProject(self): | 244 | def CloseProject(self): |
245 | self.imagedata = None | 245 | self.imagedata = None |
246 | + f = self._matrix.filename | ||
247 | + self._matrix = None | ||
248 | + os.remove(f) | ||
246 | self.current_mask = None | 249 | self.current_mask = None |
247 | 250 | ||
248 | self.values = None | 251 | self.values = None |