-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: change media #29
Conversation
DashAdapter._logger.debug('destroy'); | ||
super.destroy(); | ||
this._loadPromise = null; | ||
this._sourceObj = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason for not setting for null now? wasn't necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
loadPromise is still setted to null,sourceObj is setted to null already in the base class.
@dan-ziv LGTM, but please fix tests |
Description of the Changes
Requires to change destroy API to return promises since shaka destroy API returns promise.
Needs to be merge after playkit-js PR will be merged.
CheckLists