Skip to content

Commit

Permalink
Do not close key session if key is usable in getLicense.html demo (#4192
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dsilhavy committed May 26, 2023
1 parent fb5fb74 commit 9a07e50
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions samples/protection/getLicense.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@
case "output-restricted":
break;
case "usable":
// console.log('[DASHJS-PROTECTION-PLUGIN] SESSION: ', sessionToken.session);
// Now, since license has been received, close the MediaKeySession to release its resources
protectionController.closeKeySession(sessionToken);
break;
default:
}
Expand Down

0 comments on commit 9a07e50

Please sign in to comment.