MCPcopy Create free account
hub / github.com/coder/ghostty-web / dispose

Method dispose

lib/link-detector.ts:209–218  ·  view source on GitHub ↗

* Dispose and cleanup

()

Source from the content-addressed store, hash-verified

207 * Dispose and cleanup
208 */
209 dispose(): void {
210 this.linkCache.clear();
211 this.scannedRows.clear();
212
213 // Dispose all providers
214 for (const provider of this.providers) {
215 provider.dispose?.();
216 }
217 this.providers = [];
218 }
219}
220
221/**

Callers

nothing calls this directly

Calls 2

disposeMethod · 0.65
clearMethod · 0.45

Tested by

no test coverage detected