forked from AbleOS/ableos
Got rid of move for konii's PTSD
This commit is contained in:
parent
a658189efe
commit
7acf2a869f
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue