diff --git a/src/net/test/tcp_proxy.rs b/src/net/test/tcp_proxy.rs index 634a1c3..5581c2d 100644 --- a/src/net/test/tcp_proxy.rs +++ b/src/net/test/tcp_proxy.rs @@ -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) {