yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

core: hle: kernel: Clear process list on boot.

This commit is contained in:
bunnei 2020-12-24 23:29:14 -08:00
parent 954341763a
commit d0649d0971
1 changed files with 2 additions and 2 deletions

View File

@ -57,6 +57,8 @@ struct KernelCore::Impl {
} }
void Initialize(KernelCore& kernel) { void Initialize(KernelCore& kernel) {
process_list.clear();
RegisterHostThread(); RegisterHostThread();
global_scheduler_context = std::make_unique<Kernel::GlobalSchedulerContext>(kernel); global_scheduler_context = std::make_unique<Kernel::GlobalSchedulerContext>(kernel);
@ -76,8 +78,6 @@ struct KernelCore::Impl {
} }
void Shutdown() { void Shutdown() {
process_list.clear();
next_object_id = 0; next_object_id = 0;
next_kernel_process_id = Process::InitialKIPIDMin; next_kernel_process_id = Process::InitialKIPIDMin;
next_user_process_id = Process::ProcessIDMin; next_user_process_id = Process::ProcessIDMin;