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

This commit is contained in:
bunnei 2021-04-23 17:04:33 -07:00
parent 39a8dba9a6
commit 864841eb9e

View file

@ -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);