Chromium Code Reviews| Index: sdk/lib/async/stream_pipe.dart |
| diff --git a/sdk/lib/async/stream_pipe.dart b/sdk/lib/async/stream_pipe.dart |
| index e15e02dfac63b4b1de8929839f08b612360501ce..e0da85d379364ca9003a5d169485937630576c64 100644 |
| --- a/sdk/lib/async/stream_pipe.dart |
| +++ b/sdk/lib/async/stream_pipe.dart |
| @@ -56,7 +56,7 @@ abstract class _ForwardingStream<S, T> extends _MultiStreamImpl<T> |
| } |
| } else { |
| if (_subscription != null) { |
| - _subscription.unsubscribe(); |
| + _subscription.cancel(); |
| _subscription = null; |
| } |
| } |