kern: KWorkerTaskManager no longer tracks id

This commit is contained in:
Michael Scire 2021-09-17 16:20:55 -07:00 committed by SciresM
parent 44d10da7b8
commit 252486913b
3 changed files with 4 additions and 8 deletions

View file

@ -117,7 +117,7 @@ namespace ams::kern {
/* Perform more core-0 specific initialization. */
if (core_id == 0) {
/* Initialize the exit worker manager, so that threads and processes may exit cleanly. */
Kernel::GetWorkerTaskManager(KWorkerTaskManager::WorkerType_Exit).Initialize(KWorkerTaskManager::WorkerType_Exit, KWorkerTaskManager::ExitWorkerPriority);
Kernel::GetWorkerTaskManager(KWorkerTaskManager::WorkerType_Exit).Initialize(KWorkerTaskManager::ExitWorkerPriority);
/* Setup so that we may sleep later, and reserve memory for secure applets. */
KSystemControl::InitializePhase2();