MCPcopy
hub / github.com/vuejs/core / unsetCurrentInstance

Function unsetCurrentInstance

packages/runtime-core/src/component.ts:783–786  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

781}
782
783export const unsetCurrentInstance = (): void => {
784 currentInstance && currentInstance.scope.off()
785 internalSetCurrentInstance(null)
786}
787
788const isBuiltInTag = /*@__PURE__*/ makeMap('slot,component')
789

Callers 3

withAsyncContextFunction · 0.90
cleanupFunction · 0.90
registerDepFunction · 0.90

Calls 1

offMethod · 0.65

Tested by

no test coverage detected