Skip to content

Commit

Permalink
Revert "remote: Fix formatting (#19438)"
Browse files Browse the repository at this point in the history
This reverts commit 4738000.
  • Loading branch information
ConradIrwin committed Oct 18, 2024
1 parent 4738000 commit 47a7645
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crates/remote/src/ssh_session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1591,16 +1591,14 @@ impl ChannelClient {
buffer.pop_front();
}
}
if let Some(proto::envelope::Payload::FlushBufferedMessages(_)) =
&incoming.payload
{
if let Some(proto::envelope::Payload::FlushBufferedMessages(_)) = &incoming.payload {
{
let buffer = this.buffer.lock();
for envelope in buffer.iter() {
this.outgoing_tx.unbounded_send(envelope.clone()).ok();
}
}
let response = proto::Ack {}.into_envelope(0, Some(incoming.id), None);
let response = proto::Ack{}.into_envelope(0, Some(incoming.id), None);
this.send_dynamic(response).ok();
continue;
}
Expand Down

0 comments on commit 47a7645

Please sign in to comment.