diff options
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
| -rw-r--r-- | src/core/hle/kernel/kernel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index b3661e4c1..312c64c17 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp | |||
| @@ -57,6 +57,8 @@ struct KernelCore::Impl { | |||
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | void Initialize(KernelCore& kernel) { | 59 | void Initialize(KernelCore& kernel) { |
| 60 | process_list.clear(); | ||
| 61 | |||
| 60 | RegisterHostThread(); | 62 | RegisterHostThread(); |
| 61 | 63 | ||
| 62 | global_scheduler_context = std::make_unique<Kernel::GlobalSchedulerContext>(kernel); | 64 | global_scheduler_context = std::make_unique<Kernel::GlobalSchedulerContext>(kernel); |
| @@ -76,8 +78,6 @@ struct KernelCore::Impl { | |||
| 76 | } | 78 | } |
| 77 | 79 | ||
| 78 | void Shutdown() { | 80 | void Shutdown() { |
| 79 | process_list.clear(); | ||
| 80 | |||
| 81 | next_object_id = 0; | 81 | next_object_id = 0; |
| 82 | next_kernel_process_id = Process::InitialKIPIDMin; | 82 | next_kernel_process_id = Process::InitialKIPIDMin; |
| 83 | next_user_process_id = Process::ProcessIDMin; | 83 | next_user_process_id = Process::ProcessIDMin; |