diff options
author | Liam <byteslice@airmail.cc> | 2023-04-29 21:16:09 -0400 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-04-29 21:52:26 -0400 |
commit | 1b5c87ab6aff8c53e4c27e916b282cce8073f118 (patch) | |
tree | 30ec292c07baeb9144677779a39681e8d62a0eed /src/core/core.cpp | |
parent | fe57f3967639616142889bf1b638117ca6c879cf (diff) |
kernel: match calls to Register and Unregister
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index caa6a77be4..d7bf2bf510 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -293,6 +293,7 @@ struct System::Impl { ASSERT(Kernel::KProcess::Initialize(main_process, system, "main", Kernel::KProcess::ProcessType::Userland, resource_limit) .IsSuccess()); + Kernel::KProcess::Register(system.Kernel(), main_process); kernel.MakeApplicationProcess(main_process); const auto [load_result, load_parameters] = app_loader->Load(*main_process, system); if (load_result != Loader::ResultStatus::Success) { |