MCPcopy Create free account
hub / github.com/TruthHun/BookStack / pruneCacheEntry

Function pruneCacheEntry

static/vuejs/vue.common.js:4053–4060  ·  view source on GitHub ↗
(vnode)

Source from the content-addressed store, hash-verified

4051}
4052
4053function pruneCacheEntry (vnode) {
4054 if (vnode) {
4055 if (!vnode.componentInstance._inactive) {
4056 callHook(vnode.componentInstance, 'deactivated');
4057 }
4058 vnode.componentInstance.$destroy();
4059 }
4060}
4061
4062var KeepAlive = {
4063 name: 'keep-alive',

Callers 2

pruneCacheFunction · 0.70
vue.common.jsFile · 0.70

Calls 1

callHookFunction · 0.70

Tested by

no test coverage detected