fix: break loop when core terminated
This commit is contained in:
parent
f062f7f9fe
commit
515af472ce
1 changed files with 2 additions and 0 deletions
|
@ -172,6 +172,8 @@ impl Service {
|
|||
log::error!(target: "app" ,"[clash error]: {}", err);
|
||||
write_log(err);
|
||||
}
|
||||
CommandEvent::Error(err) => log::error!(target: "app" ,"{err}"),
|
||||
CommandEvent::Terminated(_) => break,
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue