Core: reset cpu_core in Shutdown to make IsPoweredOn work properly
This commit is contained in:
parent
51dd13b8a0
commit
fe2ed4bf72
|
@ -159,6 +159,7 @@ void System::Shutdown() {
|
||||||
Kernel::Shutdown();
|
Kernel::Shutdown();
|
||||||
HW::Shutdown();
|
HW::Shutdown();
|
||||||
CoreTiming::Shutdown();
|
CoreTiming::Shutdown();
|
||||||
|
cpu_core.reset();
|
||||||
|
|
||||||
LOG_DEBUG(Core, "Shutdown OK");
|
LOG_DEBUG(Core, "Shutdown OK");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue