threadshare: Don't set a fallback reactor

This should not be needed and fails if we have multiple contexts
This commit is contained in:
Sebastian Dröge 2018-03-29 22:39:17 +03:00
parent 13e706f678
commit 82cc63551c

View file

@ -123,7 +123,6 @@ impl IOContextRunner {
if let Some(ref pending_futures) = self.pending_futures {
use tokio::executor::current_thread;
reactor.set_fallback().unwrap();
let handle = reactor.handle();
let mut enter = ::tokio_executor::enter().unwrap();
let mut current_thread = current_thread::CurrentThread::new_with_park(reactor);