kernel: retain modules until their final explicit unload

This commit is contained in:
nmzik
2026-09-25 21:09:15 +04:00
parent e056d55dd5
commit 0fb3ac5605
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -115,6 +115,7 @@ struct Program {
int32_t unique_id = -1;
RuntimeLinker* rt = nullptr;
uint32_t load_count = 0; // Successful sceKernelLoadStartModule calls.
std::filesystem::path file_name;
std::unique_ptr<Elf64> elf;
std::unique_ptr<DynamicInfo> dynamic_info;