mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 23:18:21 +00:00
proc: fix zombie parent set
This commit is contained in:
@@ -291,6 +291,7 @@ void proc_exit(void) {
|
|||||||
|
|
||||||
if (lastchild) {
|
if (lastchild) {
|
||||||
lastchild->sibling = init_proc->child;
|
lastchild->sibling = init_proc->child;
|
||||||
|
lastchild->parent = init_proc;
|
||||||
init_proc->child = proc->child;
|
init_proc->child = proc->child;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user