aboutsummaryrefslogtreecommitdiff
path: root/helix-dap/src
diff options
context:
space:
mode:
authortaupiqueur2023-01-11 01:49:55 +0000
committerGitHub2023-01-11 01:49:55 +0000
commit3ca42f7787085ca1c435147da2fcc696a87f6e21 (patch)
treee54cf45f0f6fbaa1632910deb305ad02bda69790 /helix-dap/src
parent927fa112ec049e5f40309ffdd57c314897e18bbc (diff)
Fix name of channel endpoints in DAP client (#5366)
Diffstat (limited to 'helix-dap/src')
-rw-r--r--helix-dap/src/client.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs
index 371cf303..e72d290e 100644
--- a/helix-dap/src/client.rs
+++ b/helix-dap/src/client.rs
@@ -70,7 +70,7 @@ impl Client {
process: Option<Child>,
) -> Result<(Self, UnboundedReceiver<Payload>)> {
let (server_rx, server_tx) = Transport::start(rx, tx, err, id);
- let (client_rx, client_tx) = unbounded_channel();
+ let (client_tx, client_rx) = unbounded_channel();
let client = Self {
id,
@@ -86,9 +86,9 @@ impl Client {
quirks: DebuggerQuirks::default(),
};
- tokio::spawn(Self::recv(server_rx, client_rx));
+ tokio::spawn(Self::recv(server_rx, client_tx));
- Ok((client, client_tx))
+ Ok((client, client_rx))
}
pub async fn tcp(