Explorar o código

hle: kernel: Do not shutdown twice on emulator close.

bunnei %!s(int64=5) %!d(string=hai) anos
pai
achega
864841eb9e
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      src/core/hle/kernel/kernel.cpp

+ 1 - 3
src/core/hle/kernel/kernel.cpp

@@ -694,9 +694,7 @@ struct KernelCore::Impl {
 };
 
 KernelCore::KernelCore(Core::System& system) : impl{std::make_unique<Impl>(system, *this)} {}
-KernelCore::~KernelCore() {
-    Shutdown();
-}
+KernelCore::~KernelCore() = default;
 
 void KernelCore::SetMulticore(bool is_multicore) {
     impl->SetMulticore(is_multicore);