Add a little comment

This commit is contained in:
sxyazi 2026-06-18 21:21:21 +08:00
parent 82a09fa140
commit 581c1e9193
No known key found for this signature in database

View file

@ -31,6 +31,7 @@ impl EventStream {
break;
}
}
// try_poll() already handles Interrupted, this is defensive.
Err(e) if e.kind() == io::ErrorKind::Interrupted => continue,
Err(e) => {
tx.send(Err(e)).ok();