MCPcopy Index your code
hub / github.com/JavaCS3/xterm-player / dispose

Method dispose

src/Timer.ts:327–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325 return this
326 }
327 public dispose(): void {
328 this._ready = false
329 this._media.pause()
330 this._disposes.forEach(d => d.dispose())
331
332 this._onReadyCb = this._onStateChangeCb = this._onTickCb = NULL_FN
333 this._ticker.stop()
334 this._setState('Stopped')
335 }
336}

Callers

nothing calls this directly

Calls 4

_setStateMethod · 0.95
pauseMethod · 0.65
disposeMethod · 0.65
stopMethod · 0.65

Tested by

no test coverage detected