fix(calc): Possible return without indicating Finished

This commit is contained in:
Michael Aaron Murphy 2021-08-25 13:42:52 +02:00
parent af72ec3f0f
commit 1468f74a5e

View file

@ -89,11 +89,11 @@ impl App {
}),
)
.await;
}
crate::send(&mut self.out, PluginResponse::Finished).await;
}
}
}
async fn qcalc(regex: &mut Regex, expression: &str, decimal_comma: bool) -> Option<String> {
let mut command = Command::new("qalc");