We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 437e116 commit dcfa1e5Copy full SHA for dcfa1e5
src/utils/utils.streamsaver.js
@@ -27,10 +27,11 @@
27
_this.filename = filename;
28
_this.readyState = WriterState.INIT;
29
_writer = writer;
30
- _writer.closed.then(function () {
+ _writer.closed.catch(function (err) {
31
+ }).then(function () {
32
_logger.log('StreamWriter.closed: ' + _this.filename);
33
_this.close();
- }).catch(function (err) { });
34
+ });
35
}
36
37
// Should be called once the first keyframe is detected.
0 commit comments