fix: lint

This commit is contained in:
GyDi
2022-11-22 23:02:18 +08:00
parent 24f4e8ab99
commit e00f826eb8
2 changed files with 1 additions and 1 deletions

View File

@@ -79,6 +79,7 @@ impl CoreManager {
pub async fn run_core(&self) -> Result<()> {
let config_path = Config::generate_file(ConfigType::Run)?;
#[allow(unused_mut)]
let mut should_kill = match self.sidecar.lock().take() {
Some(child) => {
log::debug!(target: "app", "stop the core by sidecar");