mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 19:03:30 +04:00
Fix name of channel endpoints in DAP client (#5366)
This commit is contained in:
parent
927fa112ec
commit
3ca42f7787
@ -70,7 +70,7 @@ pub fn streams(
|
|||||||
process: Option<Child>,
|
process: Option<Child>,
|
||||||
) -> Result<(Self, UnboundedReceiver<Payload>)> {
|
) -> Result<(Self, UnboundedReceiver<Payload>)> {
|
||||||
let (server_rx, server_tx) = Transport::start(rx, tx, err, id);
|
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 {
|
let client = Self {
|
||||||
id,
|
id,
|
||||||
@ -86,9 +86,9 @@ pub fn streams(
|
|||||||
quirks: DebuggerQuirks::default(),
|
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(
|
pub async fn tcp(
|
||||||
|
Loading…
Reference in New Issue
Block a user