Fix umount retry
This commit is contained in:
parent
33e3eae4cb
commit
2efc4fdf36
@ -1,5 +1,6 @@
|
|||||||
import os
|
import os
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
import time
|
||||||
|
|
||||||
from lmm.config import LMMConfig
|
from lmm.config import LMMConfig
|
||||||
from lmm.const import LMM_GAMES_PATH
|
from lmm.const import LMM_GAMES_PATH
|
||||||
|
@ -136,7 +136,7 @@ class OverlayFSMount:
|
|||||||
print(f"Failed to clean temporary directory {self.workdir.name}")
|
print(f"Failed to clean temporary directory {self.workdir.name}")
|
||||||
|
|
||||||
self._mounted = False
|
self._mounted = False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
self.unmount()
|
self.unmount()
|
||||||
|
Loading…
Reference in New Issue
Block a user