Skip to content

Commit

Permalink
fix warnings in tcp_proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
amatissart committed Sep 26, 2022
1 parent 4830226 commit a79a201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/net/test/tcp_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ impl TcpProxy {

pub async fn start(&mut self) {
let _ = self.state_inlet.send(State::On);
self.off_lock.write().await;
let _ = self.off_lock.write().await;
}

pub async fn stop(&mut self) {
let _ = self.state_inlet.send(State::Off);
self.on_lock.write().await;
let _ = self.on_lock.write().await;
}

pub async fn reset(&mut self) {
Expand Down

0 comments on commit a79a201

Please sign in to comment.