Suppress supervisor.handle warning
This commit is contained in:
parent
289f76ae6c
commit
f8250f47de
|
@ -38,7 +38,9 @@ enum Intervention {
|
|||
pub struct Supervisor {
|
||||
id: u32,
|
||||
intervene: Sender<Intervention>,
|
||||
handle: JoinHandle<()>,
|
||||
|
||||
#[allow(dead_code)]
|
||||
handle: JoinHandle<()>, // see TODO in ::spawn()
|
||||
|
||||
// why this and not a watch::channel? two reasons:
|
||||
// 1. I tried the watch and ran into some race conditions???
|
||||
|
|
Loading…
Reference in New Issue