Kernel Scheduler: Make sure the global scheduler shutdowns correctly.

This commit is contained in:
Fernando Sahmkow 2019-10-12 08:21:51 -04:00 committed by FernandoS27
parent b3c1deba49
commit 25f8606a6d
7 changed files with 31 additions and 0 deletions

View file

@ -58,6 +58,7 @@ void CpuCoreManager::Shutdown() {
thread_to_cpu.clear();
for (auto& cpu_core : cores) {
cpu_core->Shutdown();
cpu_core.reset();
}