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

Fix #248 delete javascript reference to released media #249

Merged

Conversation

AgDude
Copy link
Contributor

@AgDude AgDude commented Aug 21, 2019

Platforms affected

All (www change)

Motivation and Context

This removes the javascript reference to released media objects. See #248

Description

Add a success callback to delete media id after it is released by platform specific code.

Checklist

  • I've run the tests to see all new and existing tests pass
  • [NA ] I added automated test coverage as appropriate for this change
  • [ NA] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
  • [Y ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
  • [NA ] I've updated the documentation if necessary

Copy link
Member

@timbru31 timbru31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for noticing the bug and a PR - however, I've some feedback.

www/Media.js Show resolved Hide resolved
@timbru31 timbru31 merged commit 3475970 into apache:master Apr 3, 2020
primerib added a commit to primerib/cordova-plugin-media that referenced this pull request Jun 12, 2020
uaza pushed a commit to quiply/cordova-plugin-media that referenced this pull request Oct 22, 2020
)

Co-authored-by: Nate Dudenhoeffer <agdude@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants