Skip to content

Commit

Permalink
Polling does not guarantee this behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
notgull committed Jan 6, 2023
1 parent 93afd21 commit 1ffce16
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/loop_logic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -758,9 +758,6 @@ mod tests {
.unwrap();
assert!(!dispatched);

// disabling it again is an error
event_loop.handle().disable(&ping_token).unwrap_err();

// reenable it, the previous ping now gets dispatched
event_loop.handle().enable(&ping_token).unwrap();
let mut dispatched = false;
Expand Down

0 comments on commit 1ffce16

Please sign in to comment.