Github user daserge commented on a diff in the pull request: https://github.com/apache/cordova-plugin-media/pull/58#discussion_r33482725 --- Diff: src/windows/MediaProxy.js --- @@ -226,6 +301,10 @@ module.exports = { try { if (thisM.node) { thisM.node.onloadedmetadata = null; + // Unsubscribing as the media object is being released + thisM.node.onerror = null; + // Needed to avoid "0x80070005 - JavaScript runtime error: Access is denied." on copyAsync --- End diff -- This occurs when there is an Audio object with `src` set to a file being rewritten on recording.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org