aboutsummaryrefslogtreecommitdiff
path: root/helix-dap
diff options
context:
space:
mode:
Diffstat (limited to 'helix-dap')
-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(