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");
 }