File tree 1 file changed +0
-3
lines changed
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -443,7 +443,6 @@ enum DaemonExecutionState {
443
443
}
444
444
445
445
impl DaemonExecutionState {
446
- /// TODO: Document what `tunnel_state` is used for.
447
446
pub fn shutdown ( & mut self , tunnel_state : & TunnelState ) {
448
447
use self :: DaemonExecutionState :: * ;
449
448
@@ -2682,7 +2681,6 @@ where
2682
2681
}
2683
2682
}
2684
2683
2685
- // TODO: See if this can be unified with `on_prepare_restart`
2686
2684
fn trigger_shutdown_event ( & mut self , user_init_shutdown : bool ) {
2687
2685
// Block all traffic before shutting down to ensure that no traffic can leak on boot or
2688
2686
// shutdown.
@@ -2713,7 +2711,6 @@ where
2713
2711
self . target_state . lock ( ) ;
2714
2712
2715
2713
if shutdown {
2716
- // TODO: Explain pls
2717
2714
self . state . shutdown ( & self . tunnel_state ) ;
2718
2715
self . disconnect_tunnel ( ) ;
2719
2716
}
You can’t perform that action at this time.
0 commit comments