mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
Actually do what EventLoop::deschedule says
This commit is contained in:
parent
79760da66c
commit
1b07e91834
@ -231,8 +231,8 @@ impl Loop {
|
||||
|
||||
fn deschedule(&self, token: usize) {
|
||||
let mut dispatch = self.dispatch.borrow_mut();
|
||||
dispatch.get_mut(token).unwrap();
|
||||
// TODO: was... this supposed to do something?
|
||||
let sched = dispatch.get_mut(token).unwrap();
|
||||
sched.waiter = None;
|
||||
}
|
||||
|
||||
fn consume_queue(&self) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user