Skip to content

Commit

Permalink
bugfix: Avoid spinning when waiting for deadline
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonSol919 authored Dec 25, 2023
1 parent ea0f601 commit e0c8290
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1112,6 +1112,7 @@ impl<T, B: Borrow<Inner<T>> + Unpin> Listener<T, B> {
.expect("We never removed ourself from the list")
.notified();
}
parker.park_deadline(deadline);
}
}

Expand Down

0 comments on commit e0c8290

Please sign in to comment.