MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / cleanup

Method cleanup

deepwiki/deepwiki.ts:650–658  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

648 }
649
650 async cleanup(): Promise<void> {
651 const dispose = this.lifecycleDispose;
652 this.lifecycleDispose = null;
653 if (dispose) {
654 await dispose();
655 return;
656 }
657 await this.closeResources();
658 }
659
660 private async closeResources(): Promise<void> {
661 if (this.resourcesClosed) return;

Callers 1

onUnloadMethod · 0.95

Calls 1

closeResourcesMethod · 0.95

Tested by

no test coverage detected