/// remove spu connection parameters & socket.
remove spu connection parameters & socket.
remove spu connection parameters & socket .
async fn remove_spu(&self, old_spu: SpuSpec) {
        debug!("remove Spu({}) from ConnMgr", old_spu.id);
        self.sinks.clear_sink(&old_spu.id);
        self.remove_conn_param(&old_spu.id);
        let spu_msg = SpuMsg::delete(old_spu.into());
        self.send_msg_to_all_live_spus(vec![spu_msg]).await;
    }
async fn remove_spu ( & self , old_spu : SpuSpec ) { debug ! ( " " old_spu id ) ; self . sinks . clear_sink ( & old_spu . id ) ; self . remove_conn_param ( & old_spu . id ) ; let spu_msg = SpuMsg :: delete ( old_spu . into ( ) ) ; self . send_msg_to_all_live_spus ( vec ! [ spu_msg ] ) . await ; }
remove spu connection parameters & socket.
remove spu connection parameters & socket .
&self
old_spu
SpuSpec