youtube / js_mse_eme

js_mse_eme is an externally-published tool that is aimed to test the validity of a browser's HTML5 Media Source Extension and Encrypted Media Extension implementations
Apache License 2.0
91 stars 58 forks source link

Audio Context is not closed after test fails/succeeds #34

Closed woutermeek closed 6 years ago

woutermeek commented 6 years ago

We're trying to run the MSE Conformance tests in a loop. We've noticed that the audio context on some test cases are not closed properly, thus slowly requesting more resources of the device.

this method should close the context once it is done.

ctx.close(); after runner.succeed() should do the trick.

jiaqzhao commented 6 years ago

Thanks for reporting, I will take a look.

jiaqzhao commented 6 years ago

This should be fixed as of 079f3b9