Description[dart:io] flush() stdin before close()ing
Calls to close() on an IOSink do not imply that writes buffered by the
underlying StreamConsumer have been flushed. This CL adds a note
indicating this to the IOSink docs, and adds calls to flush() before
calls to close() for some calls to stdin.close() for spawned
processes in our tests.
related #28737
R=fschneider@google.com
Committed: https://github.com/dart-lang/sdk/commit/8a9a98073f20cca85999e761a90359088a3da375
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|