Skip to content
Snippets Groups Projects
Commit 19e9bde9 authored by Liam's avatar Liam
Browse files

kernel: make sure new process is in list

parent 31bffc72
No related branches found
No related tags found
No related merge requests found
......@@ -312,6 +312,7 @@ struct System::Impl {
// Create the process.
auto main_process = Kernel::KProcess::Create(system.Kernel());
Kernel::KProcess::Register(system.Kernel(), main_process);
kernel.AppendNewProcess(main_process);
kernel.MakeApplicationProcess(main_process);
const auto [load_result, load_parameters] = app_loader->Load(*main_process, system);
if (load_result != Loader::ResultStatus::Success) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment