cleanup server code

This commit is contained in:
Ferdinand Schober
2023-12-15 20:24:14 +01:00
parent 0c275bc2de
commit 5fc02d471b
3 changed files with 30 additions and 62 deletions

View File

@@ -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);