From bb6961453d5d6f5f4e026a2ce202d38d435b59e0 Mon Sep 17 00:00:00 2001 From: 0O0o0oOoO00 <11174151+0O0o0oOoO00@users.noreply.github.com> Date: Sun, 2 Nov 2025 01:03:18 +0800 Subject: [PATCH] fix: always try to remove status when stop instance --- module/instance_watcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/instance_watcher.py b/module/instance_watcher.py index 7d82b4156..d86728e06 100644 --- a/module/instance_watcher.py +++ b/module/instance_watcher.py @@ -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: