@@ -801,7 +801,7 @@ where
801801 event_tx,
802802 ) ;
803803
804- let mix_tx = mix_traffic_controller. mix_rx ( ) ;
804+ let mix_tx = mix_traffic_controller. mix_tx ( ) ;
805805 let client_tx = mix_traffic_controller. client_tx ( ) ;
806806
807807 shutdown_tracker. try_spawn_named (
@@ -1004,8 +1004,8 @@ where
10041004 // Create a shutdown tracker for this client - either as a child of provided tracker
10051005 // or get one from the registry
10061006 let shutdown_tracker = match self . shutdown {
1007- Some ( parent_tracker) => parent_tracker. child_tracker ( ) ,
1008- None => nym_task:: get_sdk_shutdown_tracker ( ) ?,
1007+ Some ( parent_tracker) => parent_tracker. clone ( ) ,
1008+ None => nym_task:: create_sdk_shutdown_tracker ( ) ?,
10091009 } ;
10101010
10111011 Self :: start_event_control ( self . event_tx , event_receiver, & shutdown_tracker) ;
@@ -1044,7 +1044,7 @@ where
10441044 self . user_agent . clone ( ) ,
10451045 generate_client_stats_id ( * self_address. identity ( ) ) ,
10461046 input_sender. clone ( ) ,
1047- & shutdown_tracker. child_tracker ( ) ,
1047+ & shutdown_tracker. clone ( ) ,
10481048 ) ;
10491049
10501050 // needs to be started as the first thing to block if required waiting for the gateway
@@ -1054,7 +1054,7 @@ where
10541054 shared_topology_accessor. clone ( ) ,
10551055 self_address. gateway ( ) ,
10561056 self . wait_for_gateway ,
1057- & shutdown_tracker. child_tracker ( ) ,
1057+ & shutdown_tracker. clone ( ) ,
10581058 )
10591059 . await ?;
10601060
@@ -1074,15 +1074,15 @@ where
10741074 stats_reporter. clone ( ) ,
10751075 #[ cfg( unix) ]
10761076 self . connection_fd_callback ,
1077- & shutdown_tracker. child_tracker ( ) ,
1077+ & shutdown_tracker. clone ( ) ,
10781078 )
10791079 . await ?;
10801080 let gateway_ws_fd = gateway_transceiver. ws_fd ( ) ;
10811081
10821082 let reply_storage = Self :: setup_persistent_reply_storage (
10831083 reply_storage_backend,
10841084 key_rotation_config,
1085- & shutdown_tracker. child_tracker ( ) ,
1085+ & shutdown_tracker. clone ( ) ,
10861086 )
10871087 . await ?;
10881088
@@ -1093,7 +1093,7 @@ where
10931093 reply_storage. key_storage ( ) ,
10941094 reply_controller_sender. clone ( ) ,
10951095 stats_reporter. clone ( ) ,
1096- & shutdown_tracker. child_tracker ( ) ,
1096+ & shutdown_tracker. clone ( ) ,
10971097 ) ;
10981098
10991099 // The message_sender is the transmitter for any component generating sphinx packets
@@ -1103,7 +1103,7 @@ where
11031103
11041104 let ( message_sender, client_request_sender) = Self :: start_mix_traffic_controller (
11051105 gateway_transceiver,
1106- & shutdown_tracker. child_tracker ( ) ,
1106+ & shutdown_tracker. clone ( ) ,
11071107 EventSender ( event_sender) ,
11081108 ) ;
11091109
@@ -1134,7 +1134,7 @@ where
11341134 shared_lane_queue_lengths. clone ( ) ,
11351135 client_connection_rx,
11361136 stats_reporter. clone ( ) ,
1137- & shutdown_tracker. child_tracker ( ) ,
1137+ & shutdown_tracker. clone ( ) ,
11381138 ) ;
11391139
11401140 if !self
@@ -1150,7 +1150,7 @@ where
11501150 shared_topology_accessor. clone ( ) ,
11511151 message_sender,
11521152 stats_reporter. clone ( ) ,
1153- & shutdown_tracker. child_tracker ( ) ,
1153+ & shutdown_tracker. clone ( ) ,
11541154 ) ;
11551155 }
11561156
0 commit comments