()
| 299 | |
| 300 | // Cleanup function |
| 301 | const cleanup = () => { |
| 302 | resizeObserver.disconnect(); |
| 303 | hammer.destroy(); |
| 304 | if (zoomIndicator.timeoutId) clearTimeout(zoomIndicator.timeoutId); |
| 305 | container.removeChild(zoomIndicator); |
| 306 | resetZoom(); |
| 307 | }; |
| 308 | |
| 309 | player.on('dispose', cleanup); |
| 310 | return cleanup; |
nothing calls this directly
no test coverage detected