Fix a crashing bug on Linux.

When a directory was removed immediately after a subdirectory was
created, the subdirectory event would be buffered. We'd then attempt
to watch the subdirectory even though the stream group was already
closed.

Fixed b/30768513.
4 files changed
tree: 4c3f664554cb56d17262de29f81fabbee07d69a7
  1. benchmark/
  2. example/
  3. lib/
  4. test/
  5. .analysis_options
  6. .gitignore
  7. .test_config
  8. CHANGELOG.md
  9. codereview.settings
  10. LICENSE
  11. pubspec.yaml
  12. README.md
README.md

A file system watcher.

It monitors changes to contents of directories and sends notifications when files have been added, removed, or modified.