Fix troublesome debug assertions in kernel/process.cpp.

This commit is contained in:
Jonas 'Sortie' Termansen 2014-03-19 22:43:28 +01:00
parent 66481bef39
commit da87b6f0aa
1 changed files with 0 additions and 6 deletions

View File

@ -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.