Skip to content

Commit

Permalink
[catnapw] Bug Fix: testing
Browse files Browse the repository at this point in the history
  • Loading branch information
iyzhang committed May 30, 2024
1 parent 9e1c48f commit 90f8720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rust/catnap/win/overlapped.rs
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ mod tests {

let result: OperationResult = loop {
iocp.get_mut().process_events()?;
runtime.poll();
runtime.poll_task(server_task);
if let Some((_, result)) = runtime.get_completed_task(&server_task) {
break result;
}
Expand Down

0 comments on commit 90f8720

Please sign in to comment.