Relying on end_singbox now, instead of a dedicated helper for mini-takedown
This commit is contained in:
parent
8a72ae76fd
commit
00ef301baf
1 changed files with 0 additions and 11 deletions
|
|
@ -55,17 +55,6 @@ def verify_connection_integrity(connection_observer: ConnectionObserver, server_
|
||||||
return Result(valid=True, data=observed_ip)
|
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:
|
def confirm_proxy_started(protocol_choice: str) -> bool:
|
||||||
SINGBOX_OUTPUT = Constants.SINGBOX_OUTPUT
|
SINGBOX_OUTPUT = Constants.SINGBOX_OUTPUT
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue