Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1249)

Issue 2885993005: Fix Stream.distinct. (Closed)

Created:
3 years, 7 months ago by Lasse Reichstein Nielsen
Modified:
3 years, 7 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix Stream.distinct. Due to incorrectly shared state, a broadcast distinct stream listened to more than once would give incorrect results. Also update docs. Fixes #29638, #29627. BUG= http://dartbug.com/29638, http://dartbug.com/29627 R=floitsch@google.com Committed: https://github.com/dart-lang/sdk/commit/25a770fc974baca4d0637219fadff7f6078660f5

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -10 lines) Patch
M sdk/lib/async/stream.dart View 1 chunk +7 lines, -0 lines 0 comments Download
M sdk/lib/async/stream_pipe.dart View 3 chunks +24 lines, -10 lines 0 comments Download
A tests/lib/async/stream_distinct_test.dart View 1 chunk +126 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Lasse Reichstein Nielsen
3 years, 7 months ago (2017-05-18 13:35:37 UTC) #2
floitsch
LGTM.
3 years, 7 months ago (2017-05-18 14:51:45 UTC) #3
Lasse Reichstein Nielsen
3 years, 7 months ago (2017-05-18 14:54:32 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
25a770fc974baca4d0637219fadff7f6078660f5 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698