Fix umount retry

This commit is contained in:
PapaTutuWawa 2023-12-22 01:17:23 +01:00
parent 33e3eae4cb
commit 2efc4fdf36
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
import os
from typing import Optional
import time
from lmm.config import LMMConfig
from lmm.const import LMM_GAMES_PATH

View File

@ -136,7 +136,7 @@ class OverlayFSMount:
print(f"Failed to clean temporary directory {self.workdir.name}")
self._mounted = False
return True
return True
def __del__(self):
self.unmount()