Fixed warning outside of building tests
This commit is contained in:
parent
3009636f88
commit
e0d3b3034a
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ impl CommandSender {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn exit(&self) -> Result<(), errors::Error> {
|
pub fn exit(&self) -> Result<(), errors::Error> {
|
||||||
let sender = self.sender.lock().unwrap();
|
let sender = self.sender.lock().unwrap();
|
||||||
match sender.send(Command::EXIT) {
|
match sender.send(Command::EXIT) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue