compio-rs / compio

A thread-per-core Rust runtime with IOCP/io_uring/polling.
MIT License
420 stars 37 forks source link

fix(driver,runtime): op removed from driver before future returns ready #181

Closed Berrysoft closed 9 months ago

Berrysoft commented 10 months ago

Closes #180

The OpRuntime keeps a key that might be removed from Proactor. This PR makes sure that the key should be valid until poll_task returns Ready.