Index: sdk/lib/async/stream_pipe.dart |
diff --git a/sdk/lib/async/stream_pipe.dart b/sdk/lib/async/stream_pipe.dart |
index a2fc15d5e3adbfe84a89494c940f4dc7f9d96e82..b3c3aaf18b933521c81d31fd25387cc95c3f4a29 100644 |
--- a/sdk/lib/async/stream_pipe.dart |
+++ b/sdk/lib/async/stream_pipe.dart |
@@ -161,7 +161,7 @@ class _ForwardingStreamSubscription<S, T> |
if (_subscription != null) { |
StreamSubscription subscription = _subscription; |
_subscription = null; |
- subscription.cancel(); |
+ return subscription.cancel(); |
} |
return null; |
} |