-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use |session.closed| in DrmEngine.destroy.
If a session has been created but the license request hasn't been sent, the session is not "callable". This will cause the |session.close()| to be rejected and the |session.closed| Promise to never resolve. So in DrmEngine.destroy, we should be using the Promise returned from |session.close()| instead of |session.closed|. The |session.close()| Promise will only resolve once the |session.closed| Promise is resolved so they are effectively the same. Closes #664 Change-Id: Ia619740d1eb3fa8ca1bdf121574d1efb1ddbea26
- Loading branch information
1 parent
3e8847d
commit 6a01da0
Showing
2 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters