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

Unified Diff: packages/barback/lib/src/utils/stream_pool.dart

Issue 3015713002: Roll to pickup pool changes
Patch Set: Created 3 years, 3 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 | « packages/barback/lib/src/utils/multiset.dart ('k') | packages/barback/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/barback/lib/src/utils/stream_pool.dart
diff --git a/packages/barback/lib/src/utils/stream_pool.dart b/packages/barback/lib/src/utils/stream_pool.dart
index 679672d2547e00db179138076efe7db2669345a2..04d1e5c7391263898288c5430d3d32d21198b7f0 100644
--- a/packages/barback/lib/src/utils/stream_pool.dart
+++ b/packages/barback/lib/src/utils/stream_pool.dart
@@ -45,8 +45,7 @@ class StreamPool<T> {
void add(Stream<T> stream) {
if (_subscriptions.containsKey(stream)) return;
_subscriptions[stream] = stream.listen(_controller.add,
- onError: _controller.addError,
- onDone: () => remove(stream));
+ onError: _controller.addError, onDone: () => remove(stream));
}
/// Removes [stream] as a member of this pool.
« no previous file with comments | « packages/barback/lib/src/utils/multiset.dart ('k') | packages/barback/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698