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

Method dispose

packages/core/src/plugin/plugins.ts:256–260  ·  view source on GitHub ↗

* reset plugin manager

()

Source from the content-addressed store, hash-verified

254 * reset plugin manager
255 */
256 async dispose() {
257 await this.destroy()
258 this.plugins = []
259 this.pluginsMap.clear()
260 }
261
262 toProxy() {
263 return new Proxy(this, {

Callers

nothing calls this directly

Calls 2

destroyMethod · 0.95
clearMethod · 0.80

Tested by

no test coverage detected