Skip to content
Snippets Groups Projects
Commit fe2ed4bf authored by wwylele's avatar wwylele
Browse files

Core: reset cpu_core in Shutdown to make IsPoweredOn work properly

parent 51dd13b8
No related branches found
No related tags found
No related merge requests found
...@@ -159,6 +159,7 @@ void System::Shutdown() { ...@@ -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");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment