Skip to content

Commit

Permalink
Fix a bug introduced with the latest changes in updateData of the Rep…
Browse files Browse the repository at this point in the history
…resentationController.js
  • Loading branch information
dsilhavy committed Jun 16, 2023
1 parent 4b0b16d commit ed9d083
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dash/controllers/RepresentationController.js
Expand Up @@ -115,7 +115,8 @@ function RepresentationController(config) {

if (type !== Constants.VIDEO && type !== Constants.AUDIO && (type !== Constants.TEXT || !isFragmented)) {
endDataUpdate();
return Promise.resolve();
resolve();
return;
}

const promises = [];
Expand Down

0 comments on commit ed9d083

Please sign in to comment.