From 2ec99b83aa4efa75019ccdf1094307c2869fd74b Mon Sep 17 00:00:00 2001 From: zhupengfei Date: Fri, 7 Feb 2020 23:45:02 +0800 Subject: [PATCH] core: Reset archive_manager on shutdown. This holds the archives which include the SelfNCCH archive which holds the RomFS files. If we don't reset it the LayeredFS class can't get destructed and mods files won't be released. --- src/core/core.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/core.cpp b/src/core/core.cpp index ebaee4f870..d217ad003f 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -360,6 +360,7 @@ void System::Shutdown() { perf_stats.reset(); rpc_server.reset(); cheat_engine.reset(); + archive_manager.reset(); service_manager.reset(); dsp_core.reset(); cpu_core.reset();