1
0
Fork 0
forked from AbleOS/ableos

Got rid of move for konii's PTSD

This commit is contained in:
Talha Qamar 2024-11-27 02:44:23 +05:00
parent a658189efe
commit 7acf2a869f

View file

@ -100,7 +100,7 @@ impl Executor {
if let Poll::Ready(()) = task.poll(&mut cx) { if let Poll::Ready(()) = task.poll(&mut cx) {
self.tasks.remove(id); self.tasks.remove(id);
self.interrupt_lookup.map(move |pid|{ self.interrupt_lookup.map(|pid|{
if let Some(pid) = pid{ if let Some(pid) = pid{
if pid == id { if pid == id {
return None; return None;