diff --git a/src/sources/timer.rs b/src/sources/timer.rs index 2b164dc3..09ebba09 100644 --- a/src/sources/timer.rs +++ b/src/sources/timer.rs @@ -241,6 +241,7 @@ impl TimerWheel { self.heap .iter() + .rev() .find(|data| data.counter == counter) .map(|data| data.token.take()); }