streams: end with data should emit write after end error
Writing to stream using end
while ending
should emit write after end.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines