mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +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) {
|
fn deschedule(&self, token: usize) {
|
||||||
let mut dispatch = self.dispatch.borrow_mut();
|
let mut dispatch = self.dispatch.borrow_mut();
|
||||||
dispatch.get_mut(token).unwrap();
|
let sched = dispatch.get_mut(token).unwrap();
|
||||||
// TODO: was... this supposed to do something?
|
sched.waiter = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
fn consume_queue(&self) {
|
fn consume_queue(&self) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user