summaryrefslogtreecommitdiff
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
commit737e1ca1018cd5e5be03095cab6206ae6f653136 (patch)
treecde86ea87ab9eb495f47307b5ae58b35608066ee /src/core/core.cpp
parentffeb5cdd8df31dac9744845c7146d7364c843b9c (diff)
parent1b5c87ab6aff8c53e4c27e916b282cce8073f118 (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 ac0fb7872..06fba4ce5 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) {