on master help sign in
Fix name of channel endpoints in DAP client (#5366)
commit3ca42f7787085ca1c435147da2fcc696a87f6e21 authortaupiqueur <93834534+taupiqueur@users.noreply.github.com> dateWed 11 Jan 2023, 02:49 (4 years ago) parent927fa11
1 file changed+3−3
helix-dap/src/client.rs+3−3
helix-dap/src/client.rs+3−3
@@ -70,7 +70,7 @@ impl Client {
7070 process: Option<Child>,
7171 ) -> Result<(Self, UnboundedReceiver<Payload>)> {
7272 let (server_rx, server_tx) = Transport::start(rx, tx, err, id);
73− let (client_rx, client_tx) = unbounded_channel();
73+ let (client_tx, client_rx) = unbounded_channel();
7474
7575 let client = Self {
7676 id,
@@ -86,9 +86,9 @@ impl Client {
8686 quirks: DebuggerQuirks::default(),
8787 };
8888
89− tokio::spawn(Self::recv(server_rx, client_rx));
89+ tokio::spawn(Self::recv(server_rx, client_tx));
9090
91− Ok((client, client_tx))
91+ Ok((client, client_rx))
9292 }
9393
9494 pub async fn tcp(