MCPcopy
hub / github.com/simstudioai/sim / destroy

Function destroy

apps/sim/lib/pptx-renderer/sim-pptx-viewer.ts:68–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67 let destroyed = false
68 const destroy = () => {
69 if (destroyed) return
70 destroyed = true
71 viewer.destroy()
72 }
73
74 const abortDestroy = () => destroy()
75 signal?.addEventListener('abort', abortDestroy, { once: true })

Callers 2

abortDestroyFunction · 0.70
openSimPptxViewerFunction · 0.70

Calls 1

destroyMethod · 0.65

Tested by

no test coverage detected