Commit 56c8c536a377e1c931871166655ad595811d15e7

Authored by Paulo Henrique Junqueira Amorim
1 parent 619c9b7c

FIX: Fixed problem to remove temp file in windows

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
invesalius/data/slice_.py
... ... @@ -244,6 +244,7 @@ class Slice(object):
244 244 def CloseProject(self):
245 245 self.imagedata = None
246 246 f = self._matrix.filename
  247 + self._matrix._mmap.close()
247 248 self._matrix = None
248 249 os.remove(f)
249 250 self.current_mask = None
... ...