1
0
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:
0O0o0oOoO00
2025-11-02 01:03:18 +08:00
parent ab25748013
commit bb6961453d

View File

@@ -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: