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

Issue 13625003: Make EventTransformerStream's subscription not send events after cancel. (Closed)

Created:
7 years, 8 months ago by Lasse Reichstein Nielsen
Modified:
7 years, 8 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Make EventTransformerStream's subscription not send events after cancel. Also make Stream.firstm, Stream.single and Stream.elementAt cancel their subscription before completing the future, instead of after. BUG=http://dartbug.com/7964 Committed: https://code.google.com/p/dart/source/detail?r=21140

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -9 lines) Patch
M sdk/lib/async/stream.dart View 7 chunks +14 lines, -9 lines 0 comments Download
A tests/lib/async/first_regression_test.dart View 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Lasse Reichstein Nielsen
7 years, 8 months ago (2013-04-05 12:31:38 UTC) #1
floitsch
LGTM. I think I have seen similar issues with stream_periodic4_test. See http://dartbug.com/9619 The error on ...
7 years, 8 months ago (2013-04-05 15:15:08 UTC) #2
Lasse Reichstein Nielsen
7 years, 8 months ago (2013-04-09 09:26:54 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r21140 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698