Skip to content

stream: fixes async iterator destroyed error propagation

There was an edge case where if _destroy calls the error callback later than one tick the iterator would complete early and not propgate the error.

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