File tree Expand file tree Collapse file tree
iroh/src/socket/remote_map Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -670,7 +670,7 @@ impl RemoteStateActor {
670670 trace ! ( ?current_path, "keeping current path" ) ;
671671 }
672672
673- self . apply_selected_change ( ) ;
673+ self . apply_selected_path ( ) ;
674674 }
675675
676676 /// Propagates a change of [`State::selected_path`] to noq.
@@ -680,7 +680,7 @@ impl RemoteStateActor {
680680 /// - Sets all non-selected paths to [`PathStatus::Backup`]
681681 /// - Opens the selected path if it does not exist on the connection
682682 /// - Sets the selected path to [`PathStatus::Available`]
683- fn apply_selected_change ( & mut self ) {
683+ fn apply_selected_path ( & mut self ) {
684684 let Some ( selected) = self . state . selected_path . clone ( ) else {
685685 // We can't open the selected path on all paths if we don't have one yet.
686686 // And we can't close all "unselected" paths either, because we don't know which one is selected.
You can’t perform that action at this time.
0 commit comments