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

Function pruneCacheEntry

static/vuejs/vue.runtime.common.js:4049–4056  ·  view source on GitHub ↗
(vnode)

Source from the content-addressed store, hash-verified

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

Callers 2

pruneCacheFunction · 0.70

Calls 1

callHookFunction · 0.70

Tested by

no test coverage detected