Skip to content

Commit

Permalink
Merge branch 'master' into reduce-lock-contention
Browse files Browse the repository at this point in the history
  • Loading branch information
wathenjiang authored Sep 22, 2023
2 parents 8e4716a + 9bc782a commit 4a3ff7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/sync/watch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ fn maybe_changed<T>(
}

if state.is_closed() {
// All receivers have dropped.
// The sender has been dropped.
return Some(Err(error::RecvError(())));
}

Expand Down

0 comments on commit 4a3ff7a

Please sign in to comment.