aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor
diff options
context:
space:
mode:
authorxoviat <[email protected]>2023-07-15 14:18:01 -0500
committerxoviat <[email protected]>2023-07-15 14:18:01 -0500
commit8a146a50ecd9168b2c856532b6f167e5b39433bb (patch)
treecd343e5a6283bd64a7fca130b0aaa9587bcc1eff /embassy-executor
parentf90b170dad91848d5a0ff746d873bd8a4ce7e91f (diff)
parent0bde4992ea1b9f662fecaf062b1f6e09dd909112 (diff)
Merge branch 'master' into mac-3
Diffstat (limited to 'embassy-executor')
-rw-r--r--embassy-executor/src/raw/mod.rs3
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 }