Fix name of channel endpoints in DAP client (#5366)

This commit is contained in:
taupiqueur 2023-01-11 02:49:55 +01:00 committed by GitHub
parent 927fa112ec
commit 3ca42f7787
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(