From 9022c1ff0573c390e271ce9bf3866281d703f25c Mon Sep 17 00:00:00 2001 From: SimplifiedPrivacy Date: Tue, 27 Oct 2026 17:08:14 -0400 Subject: [PATCH] Only use controller to modify system state, never the model directly, because it bypasses the repo --- .../networking/systemwide/encrypted_proxy/singbox_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/services/networking/systemwide/encrypted_proxy/singbox_runner.py b/core/services/networking/systemwide/encrypted_proxy/singbox_runner.py index 32cbc6a..78ae077 100644 --- a/core/services/networking/systemwide/encrypted_proxy/singbox_runner.py +++ b/core/services/networking/systemwide/encrypted_proxy/singbox_runner.py @@ -207,7 +207,7 @@ def end_singbox(current_state: Optional[SystemState] = None) -> Result: # 5. Bookkeeping # Only dissolve the state if the process is confirmed dead. - SystemState.dissolve() + SystemStateController.dissolve() logger.info("Sing-box cleanup sequence complete.") return Result(valid=True)