mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-13 19:51:28 +03:00
cleanup server code
This commit is contained in:
@@ -201,8 +201,6 @@ impl FrontendListener {
|
||||
|
||||
#[cfg(unix)]
|
||||
pub async fn accept(&mut self) -> Result<ReadHalf<UnixStream>> {
|
||||
log::trace!("frontend.accept()");
|
||||
|
||||
let stream = self.listener.accept().await?.0;
|
||||
let (rx, tx) = tokio::io::split(stream);
|
||||
self.tx_streams.push(tx);
|
||||
|
||||
Reference in New Issue
Block a user