Skip to content

Commit

Permalink
fix(offline): Fix server certificate error when trying to delete stor…
Browse files Browse the repository at this point in the history
…ed content (#6080)

Fixes #6079
  • Loading branch information
avelad authored Jan 10, 2024
1 parent 01a217f commit e1eb003
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/offline/session_deleter.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,6 @@ shaka.offline.SessionDeleter = class {
return [];
}

try {
await drmEngine.setServerCertificate();
} catch (e) {
shaka.log.warning('Error setting server certificate', e);
await drmEngine.destroy();
return [];
}

/** @type {!Array.<string>} */
const sessionIds = [];
await Promise.all(bucket.sessionIds.map(async (sessionId) => {
Expand Down

0 comments on commit e1eb003

Please sign in to comment.