tokio-rs / tokio-core

I/O primitives and event loop for async I/O in Rust
Apache License 2.0
634 stars 116 forks source link

Fix PollEvented #308

Closed carllerche closed 6 years ago

carllerche commented 6 years ago

During the internal refactor to use the tokio crate, PollEvented::new stopped using the specified &Handle. This resulted in the PollEvented instance being registered with the fallback reactor.

This patch fixes PollEvented::new to use the specified reactor.

Fixes #307