From 12297ab67533200748ee9f60da4bc86dee1133d9 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 28 Mar 2020 13:19:05 +0100 Subject: Fix race in the tests --- crates/ra_cargo_watch/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_cargo_watch') 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 { /// The spawned thread is shut down when this struct is dropped. #[derive(Debug)] pub struct CheckWatcher { - pub task_recv: Receiver, // XXX: drop order is significant cmd_send: Option>, handle: Option>, + pub task_recv: Receiver, } impl CheckWatcher { -- cgit v1.2.3