update non-reset-packs semantics
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user