Skip to content

Commit 1b7525b

Browse files
committed
Update DamonJsPlayer.ts
1 parent ec20118 commit 1b7525b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Managers/DamonJsPlayer.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,11 @@ export class DamonJsPlayer {
123123
}
124124

125125
this.playbackQueue.isProcessing = false;
126+
if (this.playbackQueue.operations.length > 0) {
127+
this.processPlaybackQueue();
128+
}
126129
}
127130

128-
129131
public async init() {
130132
if (this.state === PlayerState.CONNECTED)
131133
throw new DamonJsError(1, 'Player is already initialized or initializing');

0 commit comments

Comments
 (0)