MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / destroy

Method destroy

packages/core/src/plugin/plugin-runtime.ts:71–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 }
70
71 async destroy() {
72 if (!this._inited) return
73 this.logger.log('method destroy called')
74 await this.config?.destroy?.call(undefined, this.ctx)
75 this._inited = false
76 }
77
78 async extend(pluginExtend: PluginExtend) {
79 if (this._extended) return

Callers

nothing calls this directly

Calls 1

logMethod · 0.45

Tested by

no test coverage detected