Skip to content
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

Merged
merged 11 commits into from
Oct 16, 2017
Merged

feat: change media #29

merged 11 commits into from
Oct 16, 2017

Conversation

dan-ziv
Copy link
Contributor

@dan-ziv dan-ziv commented Sep 28, 2017

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

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • test are passing in local environment
  • Travis tests are passing (or test results are not worse than on master branch :))
  • Docs have been updated

DashAdapter._logger.debug('destroy');
super.destroy();
this._loadPromise = null;
this._sourceObj = null;
Copy link
Contributor

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?

Copy link
Contributor Author

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.

yairans
yairans previously approved these changes Oct 1, 2017
@OrenMe
Copy link
Contributor

OrenMe commented Oct 2, 2017

@dan-ziv LGTM, but please fix tests

yairans
yairans previously approved these changes Oct 15, 2017
@OrenMe OrenMe merged commit 4382852 into master Oct 16, 2017
@OrenMe OrenMe deleted the change-media branch October 16, 2017 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants