aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-05-03 09:07:19 -0700
committerGitHub <noreply@github.com>2023-05-03 09:07:19 -0700
commitdd78368441ecfe80a4bb0ba5bacca8c4e16dc422 (patch)
treecde86ea87ab9eb495f47307b5ae58b35608066ee /src/core/core.cpp
parent58b38d1761afe6370038f1c815f353e644ddb723 (diff)
parent7afcc29ac85ded4975fd04d9f1c80b32b4e102ba (diff)
Merge pull request #10117 from liamwhite/sync-register
kernel: match calls to Register and Unregister
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index ac0fb78724..06fba4ce59 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) {