diff --git a/generic/threadshare/src/runtime/executor/async_wrapper.rs b/generic/threadshare/src/runtime/executor/async_wrapper.rs index d542c950..7d0c53dc 100644 --- a/generic/threadshare/src/runtime/executor/async_wrapper.rs +++ b/generic/threadshare/src/runtime/executor/async_wrapper.rs @@ -179,7 +179,7 @@ impl Async { } } - let source = Reactor::with_mut(|reactor| reactor.insert_io(fd))?; + let source = Reactor::with_mut(|reactor| reactor.insert_io(sock))?; Ok(Async { source, io: Some(io),