Skip to content

Commit

Permalink
Update DamonJsPlayer.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
achiragaming committed Nov 24, 2024
1 parent ec20118 commit 1b7525b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Managers/DamonJsPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,11 @@ export class DamonJsPlayer {
}

this.playbackQueue.isProcessing = false;
if (this.playbackQueue.operations.length > 0) {
this.processPlaybackQueue();
}
}


public async init() {
if (this.state === PlayerState.CONNECTED)
throw new DamonJsError(1, 'Player is already initialized or initializing');
Expand Down

0 comments on commit 1b7525b

Please sign in to comment.