Skip to content

Commit f89a117

Browse files
Initializing lockedActionsQueue in constructor
1 parent 606ba6d commit f89a117

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/html5/HTML5AudioSoundManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ var HTML5AudioSoundManager = new Class({
9696
* @private
9797
* @since 3.0.0
9898
*/
99-
this.lockedActionsQueue = null;
99+
this.lockedActionsQueue = this.locked ? [] : null;
100100

101101
/**
102102
* Property that actually holds the value of global mute

0 commit comments

Comments
 (0)