We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17fc129 commit 77245fdCopy full SHA for 77245fd
1 file changed
tokio/src/runtime/time/entry.rs
@@ -170,12 +170,11 @@ impl StateCell {
170
// with relaxed ordering.
171
let mut cur_state = self.state.load(Ordering::Relaxed);
172
loop {
173
- // This entry is in the `guarded_list`, so it can not be removed
174
- // from the entry list with the same `level` and `slot`.
175
// Because its state is STATE_DEREGISTERED, it has been fired.
176
- if cur_state == STATE_DEREGISTERED {
177
- break Err(cur_state);
178
- }
+
+ // if cur_state == STATE_DEREGISTERED {
+ // break Err(cur_state);
+ // }
179
180
// improve the error message for things like
181
// https://github.com/tokio-rs/tokio/issues/3675
0 commit comments