Skip to content

Commit cfc9f0f

Browse files
authored
Bug #571: fix excess onend events (#572)
- Allow the BufferSourceNode EventListener to deliver onend when stopAll is called. _clearOnEnd will call _onended and remove the EventListener. Signed-off-by: Robert Collins <[email protected]>
1 parent 04c6526 commit cfc9f0f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/soundfile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,6 @@ class SoundFile {
898898
}
899899
}
900900
this._counterNode.stop(now + time);
901-
this._onended(this);
902901
}
903902
}
904903

0 commit comments

Comments
 (0)