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.
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.
If the decoder calls the error callback in StreamDecoder or FileDecoder, now it will only emit
flac-error
instead of destroying the stream (and emittingerror
). It will continue to decode unless the decoder finds a fatal error.See #40