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