diff options
author | Aleksey Kladov <[email protected]> | 2020-03-28 12:19:05 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-03-30 10:33:01 +0100 |
commit | 12297ab67533200748ee9f60da4bc86dee1133d9 (patch) | |
tree | 2f46877e85c6a10b810dd6ff2a0e0c680c800bda /crates/ra_cargo_watch/src | |
parent | f7df0b56a76360419b31d8030c5c250bd54d8b6d (diff) |
Fix race in the tests
Diffstat (limited to 'crates/ra_cargo_watch/src')
-rw-r--r-- | crates/ra_cargo_watch/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_cargo_watch/src/lib.rs b/crates/ra_cargo_watch/src/lib.rs index 1ced7712a..1cac954c3 100644 --- a/crates/ra_cargo_watch/src/lib.rs +++ b/crates/ra_cargo_watch/src/lib.rs | |||
@@ -35,10 +35,10 @@ pub struct CheckOptions { | |||
35 | /// The spawned thread is shut down when this struct is dropped. | 35 | /// The spawned thread is shut down when this struct is dropped. |
36 | #[derive(Debug)] | 36 | #[derive(Debug)] |
37 | pub struct CheckWatcher { | 37 | pub struct CheckWatcher { |
38 | pub task_recv: Receiver<CheckTask>, | ||
39 | // XXX: drop order is significant | 38 | // XXX: drop order is significant |
40 | cmd_send: Option<Sender<CheckCommand>>, | 39 | cmd_send: Option<Sender<CheckCommand>>, |
41 | handle: Option<jod_thread::JoinHandle<()>>, | 40 | handle: Option<jod_thread::JoinHandle<()>>, |
41 | pub task_recv: Receiver<CheckTask>, | ||
42 | } | 42 | } |
43 | 43 | ||
44 | impl CheckWatcher { | 44 | impl CheckWatcher { |