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

Issue 896793002: Avoid crashing when a closed StreamIterator is cancelled (Closed)

Created:
5 years, 10 months ago by sigurdm
Modified:
5 years, 10 months ago
CC:
reviews_dartlang.org, floitsch
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Avoid crashing when a closed StreamIterator is cancelled BUG= R=floitsch@google.com, lrn@google.com Committed: https://code.google.com/p/dart/source/detail?r=43460

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Follow Lasse's suggestion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -0 lines) Patch
M sdk/lib/async/stream_impl.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
A tests/lib/async/stream_iterator_double_cancel_test.dart View 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
sigurdm
5 years, 10 months ago (2015-02-03 14:35:33 UTC) #3
floitsch
LGTM. But give Lasse a chance to review too.
5 years, 10 months ago (2015-02-03 19:25:38 UTC) #5
Lasse Reichstein Nielsen
lgtm https://chromiumcodereview.appspot.com/896793002/diff/20001/sdk/lib/async/stream_impl.dart File sdk/lib/async/stream_impl.dart (right): https://chromiumcodereview.appspot.com/896793002/diff/20001/sdk/lib/async/stream_impl.dart#newcode1031 sdk/lib/async/stream_impl.dart:1031: StreamSubscription subscription = _subscription; I think it would ...
5 years, 10 months ago (2015-02-04 10:03:42 UTC) #6
sigurdm
https://codereview.chromium.org/896793002/diff/20001/sdk/lib/async/stream_impl.dart File sdk/lib/async/stream_impl.dart (right): https://codereview.chromium.org/896793002/diff/20001/sdk/lib/async/stream_impl.dart#newcode1031 sdk/lib/async/stream_impl.dart:1031: StreamSubscription subscription = _subscription; On 2015/02/04 10:03:42, Lasse Reichstein ...
5 years, 10 months ago (2015-02-04 10:23:57 UTC) #9
sigurdm
5 years, 10 months ago (2015-02-04 11:23:34 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:60001) manually as 43460 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698