diff options
author | bdonlan <bdonlan@gmail.com> | 2020-12-08 16:42:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 16:42:43 -0800 |
commit | 9706ca92a8deb69d6e29265f21424042fea966c5 (patch) | |
tree | cd77e2148b7cdf03d0fcb38e8e27cf3f7eed1ed9 /tokio-macros | |
parent | fc7a4b3c6e765d6d2b4ea97266cefbf466d52dc9 (diff) |
time: Fix race condition in timer drop (#3229)
Dropping a timer on the millisecond that it was scheduled for, when it was on
the pending list, could result in a panic previously, as we did not record the
pending-list state in cached_when.
Hopefully fixes: ZcashFoundation/zebra#1452
Diffstat (limited to 'tokio-macros')
0 files changed, 0 insertions, 0 deletions