melchor629 / node-flac-bindings

Nodejs bindings to libFLAC
ISC License
17 stars 1 forks source link

Do not destroy stream on decode error cbk called #41

Closed melchor629 closed 2 years ago

melchor629 commented 2 years ago

If the decoder calls the error callback in StreamDecoder or FileDecoder, now it will only emit flac-error instead of destroying the stream (and emitting error). It will continue to decode unless the decoder finds a fatal error.

See #40

coveralls commented 2 years ago

Coverage Status

Coverage increased (+0.04%) to 91.427% when pulling d7fae7e88370b335fa1cc061c04f44ae24223f6e on fix/40-do-not-destroy-stream-on-decode-error-cbk-called into d683e222c0f3938aad8bbf26e7a5bdc83f795db8 on master.