mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 22:48:21 +00:00
scheduler: close init node
This commit is contained in:
@@ -437,6 +437,8 @@ void sched_runinit(){
|
|||||||
_panic("Could not load init", 0);
|
_panic("Could not load init", 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vfs_close(node);
|
||||||
|
|
||||||
arch_regs_setupuser(thread->regs, entry, stack, true);
|
arch_regs_setupuser(thread->regs, entry, stack, true);
|
||||||
|
|
||||||
fd_release(stdinfd);
|
fd_release(stdinfd);
|
||||||
|
|||||||
Reference in New Issue
Block a user