Fix troublesome debug assertions in kernel/process.cpp.
This commit is contained in:
parent
66481bef39
commit
da87b6f0aa
|
@ -712,12 +712,6 @@ Process* Process::Fork()
|
|||
clone->symbol_table_length = symbol_table_length;
|
||||
}
|
||||
|
||||
if ( pid == 1)
|
||||
assert(dtable->Get(1));
|
||||
|
||||
if ( pid == 1)
|
||||
assert(clone->dtable->Get(1));
|
||||
|
||||
// If the proces creation failed, ask the process to commit suicide and
|
||||
// not become a zombie, as we don't wait for it to exit. It will clean
|
||||
// up all the above resources and delete itself.
|
||||
|
|
Loading…
Reference in New Issue