Index: sdk/lib/io/directory_impl.dart |
diff --git a/sdk/lib/io/directory_impl.dart b/sdk/lib/io/directory_impl.dart |
index 0157a19eeb71b9f7b1e5d34a9997b0edfaaec13b..b9935caac1a4ac9a5bdc8120c392107420329419 100644 |
--- a/sdk/lib/io/directory_impl.dart |
+++ b/sdk/lib/io/directory_impl.dart |
@@ -247,7 +247,7 @@ class _Directory implements Directory { |
const int RESPONSE_COMPLETE = 1; |
const int RESPONSE_ERROR = 2; |
- var controller = new StreamController<FileSystemEntity>(); |
+ var controller = new StreamController<FileSystemEntity>(sync: true); |
List request = [ _Directory.LIST_REQUEST, path, recursive, followLinks ]; |
ReceivePort responsePort = new ReceivePort(); |