()
| 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 |