Skip to content

Web audio stuck after api.destroy() #594

@WindBise

Description

@WindBise

Expected Results

this.state.api.destroy() execution in componentWillUnmount,the playing audio should stop

Observed Results

Playing tabs and navigate to another page, the audio is still playing the same sound like something is stucked

Steps to Reproduce

Link to jsFiddle, CodePen, Project etc.:

  1. open alphatab.net
  2. start play canon rock
  3. keep playing and click any link in page, for instance click Docs
  4. Then the audio will stuck in one sound, it won't stop until refresh the page

Further details

Your environment

Version

  • 1.0
  • 1.1
  • 1.2
  • 1.3-alpha.##

Flavor

  • JavaScript
  • .net

System

macOS catalina 10.15.6

Metadata

Metadata

Assignees

Labels

area-playerRelated to the audio playback engine.platform-javascriptRelated to the JavaScript version of alphaTabplatform-netRelated to the .net version of alphaTabstate-acceptedThis is a valid topic to work on.

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions