summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorZahari Dichev <zaharidichev@gmail.com>2020-09-22 18:12:57 +0300
committerGitHub <noreply@github.com>2020-09-22 08:12:57 -0700
commite7091fde786722a5301270e6281fc3c449dcfc14 (patch)
treef40c752ab5411ef0f4ba8e086da339d857c564b2 /.github
parent2348f678e6b2a5e37b596c514b4b1a6ccb090d79 (diff)
sync: Remove readiness assertion in `watch::Receiver::changed() (#2839)
*In `watch::Receiver::changed` `Notified` was polled for the first time to ensure the waiter is registered while assuming that the first poll will always return `Pending`. It is the case however that another instance of `Notified` is dropped without receiving its notification, this "orphaned" notification can be used to satisfy another waiter without even registering it. This commit accounts for that scenario.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions