| Index: runtime/bin/file_system_watcher_linux.cc
|
| diff --git a/runtime/bin/file_system_watcher_linux.cc b/runtime/bin/file_system_watcher_linux.cc
|
| index 54f86cc8029ff43d1537b0758135cceed8772a09..bfdc941d0448dde1f22ce4f9f7be22f2ec71f1e9 100644
|
| --- a/runtime/bin/file_system_watcher_linux.cc
|
| +++ b/runtime/bin/file_system_watcher_linux.cc
|
| @@ -110,7 +110,8 @@ Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id, intptr_t path_id) {
|
| const intptr_t kEventSize = sizeof(struct inotify_event);
|
| const intptr_t kBufferSize = kEventSize + NAME_MAX + 1;
|
| uint8_t buffer[kBufferSize];
|
| - intptr_t bytes = SocketBase::Read(id, buffer, kBufferSize);
|
| + intptr_t bytes =
|
| + SocketBase::Read(id, buffer, kBufferSize, SocketBase::kAsync);
|
| if (bytes < 0) {
|
| return DartUtils::NewDartOSError();
|
| }
|
|
|