sched: task: fix leftover invalid pmap pointer

This commit is contained in:
2026-04-30 19:10:51 +01:00
parent d63c2dbd12
commit 4a6809e2df
+1
View File
@@ -376,6 +376,7 @@ void task_exit(int status)
spin_lock(&self->t_handles_lock);
pmap_switch(get_kernel_pmap());
self->t_address_space->s_pmap = PMAP_INVALID;
pmap_destroy(self->t_pmap);
task_unlock(self);