stream: defer readable when sync
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
Affected core subsystem(s)
stream
Fixes #18484 (closed) by not calling flow()
when state.sync
is set