Ver Fonte

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

bunnei há 5 anos atrás
pai
commit
864841eb9e
1 ficheiros alterados com 1 adições e 3 exclusões
  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);