mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-15 23:39:26 +08:00
fix: always try to remove status when stop instance
This commit is contained in:
@@ -126,10 +126,10 @@ class InstanceWatcher:
|
||||
def remove_instance(self, name, remove_status_cache_file=True):
|
||||
try:
|
||||
self.instances.pop(name)
|
||||
if remove_status_cache_file:
|
||||
self.remove_status_file(name)
|
||||
except Exception:
|
||||
...
|
||||
if remove_status_cache_file:
|
||||
self.remove_status_file(name)
|
||||
|
||||
def watcher_thread(self):
|
||||
while 1:
|
||||
|
||||
Reference in New Issue
Block a user