diff options
| author | wwylele <wwylele@gmail.com> | 2016-12-24 20:49:37 +0200 |
|---|---|---|
| committer | wwylele <wwylele@gmail.com> | 2016-12-24 20:55:38 +0200 |
| commit | 0372b0ea28592323b6b79837baea7062c34eac2d (patch) | |
| tree | 6ee9361fc34799b8d1d1c62485dd6f269c6ca7e6 /src/core/core.cpp | |
| parent | 77b58b740d75d1907f877a86efebb01eb6023502 (diff) | |
Core: reset cpu_core in Shutdown to make IsPoweredOn work properly
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index ee52370961..202cd332b0 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -159,6 +159,7 @@ void System::Shutdown() { Kernel::Shutdown(); HW::Shutdown(); CoreTiming::Shutdown(); + cpu_core.reset(); LOG_DEBUG(Core, "Shutdown OK"); } |
