Skip to content

Commit

Permalink
📝 fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
Xudong-Huang committed Jan 15, 2025
1 parent f9ebd73 commit f31fd80
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/io/event_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ impl EventLoop {
loop {
next_expire = match selector.select(scheduler, id, &mut events_buf, next_expire) {
Ok(t) => t.or(Some(timeout_ns)),
Err(e) => error!("select error = {:?}", e),
Err(e) => {
error!("select error = {:?}", e);
Some(timeout_ns)
}
}
}
}
Expand Down

0 comments on commit f31fd80

Please sign in to comment.