MCPcopy Create free account
hub / github.com/codecombat/codecombat / destroy

Method destroy

app/views/admin/CodePlaybackView.js:188–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186 }
187
188 destroy () {
189 this.clearPlayback()
190 if (utils.isCodeCombat) {
191 if (this.musicPlayer != null) {
192 this.musicPlayer.destroy()
193 }
194 } else {
195 store.dispatch('audio/fadeAndStopAll', { to: 0, duration: 1000, unload: true })
196 }
197 return super.destroy()
198 }
199 }
200 CodePlaybackView.initClass()
201 return CodePlaybackView

Callers 1

funMethod · 0.45

Calls 1

clearPlaybackMethod · 0.95

Tested by

no test coverage detected