DescriptionMake `Stream.take(0)` still listen and close the stream.
It shouldn't matter, but for some streams (e.g., a `ReceivePort`)
it does make a big difference whether it's closed or not.
We can't make a port not keep the isolate alive unless it has been listened to.
If we could, this wouldn't be necessary.
R=floitsch@google.com
Committed: https://github.com/dart-lang/sdk/commit/88ef4e98fa89a077bf5b3664e88aa7a55d8fdad7
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|