diff --git a/openage/util/fslike/path.py b/openage/util/fslike/path.py index 7532ec3e0df..c34a5d6a6ca 100644 --- a/openage/util/fslike/path.py +++ b/openage/util/fslike/path.py @@ -366,16 +366,3 @@ def get_temp_dir(): path.is_temp = True return path - - def __del__(self): - """ - Destructor used for temp files and directories. - """ - if self.is_temp: - # Cleanup temp file - if self.exists(): - if self.is_file(): - self.unlink() - - elif self.is_dir(): - self.removerecursive()