Fixed warning outside of building tests

This commit is contained in:
Antoine Gersant 2019-02-19 18:02:22 -08:00
parent 3009636f88
commit e0d3b3034a

View file

@ -66,6 +66,7 @@ impl CommandSender {
}
}
#[allow(dead_code)]
pub fn exit(&self) -> Result<(), errors::Error> {
let sender = self.sender.lock().unwrap();
match sender.send(Command::EXIT) {