commit | e7fa8d08336ccb4f65b59e6cd641f782aaa350c4 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Thu Jul 16 16:24:57 2015 -0700 |
committer | Natalie Weizenbaum <nweiz@google.com> | Thu Jul 16 16:24:57 2015 -0700 |
tree | 93338c10d527134a19c4bb7996574e94bf3f9f3b | |
parent | 91b81764989e223af6c7fb5dbb5a9b18e2f63c49 [diff] |
Fix a race condition in file watcher. It was possible for events to be added to the events controller after it had been closed if the call to close() came in while a method was waiting on an asynchronous callback. R=cbracken@google.com Review URL: https://codereview.chromium.org//1228703007 .
A file system watcher.
It monitors changes to contents of directories and sends notifications when files have been added, removed, or modified.