Fully halt background scanner threads when dropping Worktree

* Rework fsevent API to expose a handle for halting the event stream

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld
2021-04-20 15:55:29 -07:00
co-authored by Nathan Sobo
parent 9fd8acdce7
commit b20f5e9139
6 changed files with 158 additions and 68 deletions
Generated
+1
View File
@@ -753,6 +753,7 @@ version = "2.0.2"
dependencies = [
"bitflags",
"fsevent-sys",
"parking_lot",
"tempdir",
]