This commit is contained in:
Ferdinand Schober
2024-07-12 01:29:03 +02:00
parent 39d6a3cace
commit 73a57ee892
4 changed files with 4 additions and 5 deletions

View File

@@ -108,7 +108,6 @@ impl LibeiEmulation {
let stream = UnixStream::from(eifd);
stream.set_nonblocking(true)?;
let context = ei::Context::new(stream)?;
context.flush().map_err(|e| io::Error::new(e.kind(), e))?;
let mut events = EiEventStream::new(context.clone())?;
let handshake = ei_handshake(
&mut events,