Kernel Scheduler: Make sure the global scheduler shutdowns correctly.
This commit is contained in:
parent
b3c1deba49
commit
25f8606a6d
7 changed files with 31 additions and 0 deletions
src/core
|
@ -58,6 +58,7 @@ void CpuCoreManager::Shutdown() {
|
|||
|
||||
thread_to_cpu.clear();
|
||||
for (auto& cpu_core : cores) {
|
||||
cpu_core->Shutdown();
|
||||
cpu_core.reset();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue