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.
This commit is contained in:
zhupengfei 2020-02-07 23:45:02 +08:00
parent 6e0afbaa19
commit 2ec99b83aa
No known key found for this signature in database
GPG Key ID: DD129E108BD09378

View File

@ -360,6 +360,7 @@ void System::Shutdown() {
perf_stats.reset(); perf_stats.reset();
rpc_server.reset(); rpc_server.reset();
cheat_engine.reset(); cheat_engine.reset();
archive_manager.reset();
service_manager.reset(); service_manager.reset();
dsp_core.reset(); dsp_core.reset();
cpu_core.reset(); cpu_core.reset();