early-access version 2064

This commit is contained in:
pineappleEA
2021-09-16 02:45:32 +02:00
parent 5c707603d4
commit 4d09dce011
17 changed files with 177 additions and 33 deletions

View File

@@ -84,9 +84,7 @@ FileSys::StorageId GetStorageIdForFrontendSlot(
}
void KProcessDeleter(Kernel::KProcess* process) {
if (process) {
process->Destroy();
}
process->Destroy();
}
using KProcessPtr = std::unique_ptr<Kernel::KProcess, decltype(&KProcessDeleter)>;
@@ -324,6 +322,7 @@ struct System::Impl {
kernel.Shutdown();
memory.Reset();
applet_manager.ClearAll();
// TODO: The main process should be freed based on KAutoObject ref counting.
main_process.reset();
LOG_DEBUG(Core, "Shutdown OK");