Skip to content

Commit ea040d8

Browse files
Remove remaining TODOs
Fix these in some other PR/series of commits.
1 parent 75153ed commit ea040d8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mullvad-daemon/src/lib.rs

-3
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,6 @@ enum DaemonExecutionState {
443443
}
444444

445445
impl DaemonExecutionState {
446-
/// TODO: Document what `tunnel_state` is used for.
447446
pub fn shutdown(&mut self, tunnel_state: &TunnelState) {
448447
use self::DaemonExecutionState::*;
449448

@@ -2682,7 +2681,6 @@ where
26822681
}
26832682
}
26842683

2685-
// TODO: See if this can be unified with `on_prepare_restart`
26862684
fn trigger_shutdown_event(&mut self, user_init_shutdown: bool) {
26872685
// Block all traffic before shutting down to ensure that no traffic can leak on boot or
26882686
// shutdown.
@@ -2713,7 +2711,6 @@ where
27132711
self.target_state.lock();
27142712

27152713
if shutdown {
2716-
// TODO: Explain pls
27172714
self.state.shutdown(&self.tunnel_state);
27182715
self.disconnect_tunnel();
27192716
}

0 commit comments

Comments
 (0)