Skip to content

stream: don't emit error after close

We should not emit any further errors after the stream is considered closed (i.e. after 'close' has been emitted).

The state property naming a little unfortunate, but nothing we can do about that now. It's still good.

  • .destroyed means "destroying".
  • .closed means "destroyed" (new).

Similar too ending and ended.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading