diff options
| author | Tyler <[email protected]> | 2023-07-16 19:08:01 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-16 19:08:01 -0500 |
| commit | 6d8a5c6c20953c998df6ddd26906abe520df946d (patch) | |
| tree | 32cfdf85a1aa132cb0f1aac56a934ceed93fc597 /embassy-executor/src/raw | |
| parent | 3aedbce5c2775ff1ab10c3ca95ea1311043f4be4 (diff) | |
| parent | c7ec45a004750f590c1d9ea4a721972efe133b8e (diff) | |
Merge pull request #2 from embassy-rs/main
Pull changes from base embassy repo
Diffstat (limited to 'embassy-executor/src/raw')
| -rw-r--r-- | embassy-executor/src/raw/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embassy-executor/src/raw/mod.rs b/embassy-executor/src/raw/mod.rs index bd0cff26b..f3760f589 100644 --- a/embassy-executor/src/raw/mod.rs +++ b/embassy-executor/src/raw/mod.rs | |||
| @@ -165,6 +165,9 @@ impl<F: Future + 'static> TaskStorage<F> { | |||
| 165 | Poll::Ready(_) => { | 165 | Poll::Ready(_) => { |
| 166 | this.future.drop_in_place(); | 166 | this.future.drop_in_place(); |
| 167 | this.raw.state.fetch_and(!STATE_SPAWNED, Ordering::AcqRel); | 167 | this.raw.state.fetch_and(!STATE_SPAWNED, Ordering::AcqRel); |
| 168 | |||
| 169 | #[cfg(feature = "integrated-timers")] | ||
| 170 | this.raw.expires_at.set(Instant::MAX); | ||
| 168 | } | 171 | } |
| 169 | Poll::Pending => {} | 172 | Poll::Pending => {} |
| 170 | } | 173 | } |
