From 00ef301baf5b6e1c43c74834674082d5c2d798ad Mon Sep 17 00:00:00 2001 From: SimplifiedPrivacy Date: Thu, 22 Oct 2026 21:50:43 -0400 Subject: [PATCH] Relying on end_singbox now, instead of a dedicated helper for mini-takedown --- .../systemwide/encrypted_proxy/singbox_runner.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/core/services/networking/systemwide/encrypted_proxy/singbox_runner.py b/core/services/networking/systemwide/encrypted_proxy/singbox_runner.py index 1fe0be1..f6f67cb 100644 --- a/core/services/networking/systemwide/encrypted_proxy/singbox_runner.py +++ b/core/services/networking/systemwide/encrypted_proxy/singbox_runner.py @@ -55,17 +55,6 @@ def verify_connection_integrity(connection_observer: ConnectionObserver, server_ return Result(valid=True, data=observed_ip) -# def teardown_failed_connection(current_state: SystemState) -> None: -# """Performs a full cleanup: closes the interface and dissolves system state.""" -# logger.info("Performing full teardown of failed connection...") - -# closed = orchestrate_closing(current_state=current_state, interface=Constants.SINGBOX_TUN_IF) - -# if closed.valid: -# logger.info("Closed singbox. Performing redundant state removal...") -# SystemStateController.dissolve() - - def confirm_proxy_started(protocol_choice: str) -> bool: SINGBOX_OUTPUT = Constants.SINGBOX_OUTPUT