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

Unified Diff: sdk/lib/async/stream.dart

Issue 12313127: Fix subscription handling in stream decoder (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added missing file Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sdk/lib/io/file_impl.dart » ('j') | sdk/lib/io/string_transformer.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/stream.dart
diff --git a/sdk/lib/async/stream.dart b/sdk/lib/async/stream.dart
index dddc00406cc5ba3a970226010fdd988f5cd4df4f..c26b4e177cbcee4796f12d122819b666c6498678 100644
--- a/sdk/lib/async/stream.dart
+++ b/sdk/lib/async/stream.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -1016,7 +1016,7 @@ class EventTransformStream<S, T> extends Stream<T> {
bool unsubscribeOnError }) {
return new _EventTransformStreamSubscription(_source, _transformer,
onData, onError, onDone,
- unsubscribeOnError);
+ true == unsubscribeOnError);
floitsch 2013/02/26 14:47:26 I prefer identical(unsubscribeOnError, true) to sw
Søren Gjesse 2013/02/26 15:23:33 Done.
}
}
« no previous file with comments | « no previous file | sdk/lib/io/file_impl.dart » ('j') | sdk/lib/io/string_transformer.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698