update non-reset-packs semantics

This commit is contained in:
MihailRis
2025-11-10 12:23:35 +03:00
parent b0d662f845
commit a4461a7dc3
5 changed files with 27 additions and 5 deletions
-1
View File
@@ -186,7 +186,6 @@ events = require "core:internal/events"
function pack.unload(prefix)
events.remove_by_prefix(prefix)
__vc__pack_envs[prefix] = nil
end
function __vc_start_app_script(path)
+1
View File
@@ -771,6 +771,7 @@ function __scripts_cleanup(non_reset_packs)
__cached_scripts[k] = nil
package.loaded[k] = nil
end
__vc__pack_envs[packname] = nil
::continue::
end
end