| Index: runtime/bin/eventhandler_win.cc
|
| diff --git a/runtime/bin/eventhandler_win.cc b/runtime/bin/eventhandler_win.cc
|
| index 475a79e16e750ce3605b8b7e4761638e148b34ad..c16f1a50a1363d816d26ae9171407190a012b822 100644
|
| --- a/runtime/bin/eventhandler_win.cc
|
| +++ b/runtime/bin/eventhandler_win.cc
|
| @@ -398,7 +398,7 @@ bool DirectoryWatchHandle::IssueRead() {
|
| ScopedLock lock(this);
|
| // It may have been started before, as we start the directory-handler when
|
| // we create it.
|
| - if (pending_read_ != NULL) return true;
|
| + if (pending_read_ != NULL || data_ready_ != NULL) return true;
|
| OverlappedBuffer* buffer = OverlappedBuffer::AllocateReadBuffer(kBufferSize);
|
| ASSERT(completion_port_ != INVALID_HANDLE_VALUE);
|
| BOOL ok = ReadDirectoryChangesW(handle_,
|
|
|