Index: sdk/lib/io/file_impl.dart |
diff --git a/sdk/lib/io/file_impl.dart b/sdk/lib/io/file_impl.dart |
index 68428d6f2ae0977d49b21c25838612de522091e8..65f7adfb75586a616a00fd4efb56aed66726a9ea 100644 |
--- a/sdk/lib/io/file_impl.dart |
+++ b/sdk/lib/io/file_impl.dart |
@@ -130,7 +130,7 @@ class _FileStream extends Stream<List<int>> { |
} |
void _onSubscriptionStateChange() { |
- if (_controller.hasSubscribers) { |
+ if (_controller.hasListener) { |
_start(); |
} else { |
_unsubscribed = true; |