diff options
-rw-r--r-- | ui/src/workers.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/src/workers.rs b/ui/src/workers.rs index f4b71afa..8f9d0443 100644 --- a/ui/src/workers.rs +++ b/ui/src/workers.rs @@ -8,9 +8,9 @@ const MAX_WORKER: usize = 4; pub struct WorkController { pub queue: WorkQueue<Work>, - thread_end_tx: chan::Sender<bool>, + _thread_end_tx: chan::Sender<bool>, results: Option<chan::Receiver<bool>>, - threads: Vec<std::thread::JoinHandle<()>>, + _threads: Vec<std::thread::JoinHandle<()>>, } impl WorkController { @@ -223,9 +223,9 @@ impl WorkController { WorkController { queue, - thread_end_tx, + _thread_end_tx: thread_end_tx, results: Some(results_rx), - threads, + _threads: threads, } } } |