Skip to content
Snippets Groups Projects
Unverified Commit 515af472 authored by GyDi's avatar GyDi
Browse files

fix: break loop when core terminated

parent f062f7f9
No related branches found
No related tags found
No related merge requests found
...@@ -172,6 +172,8 @@ impl Service { ...@@ -172,6 +172,8 @@ impl Service {
log::error!(target: "app" ,"[clash error]: {}", err); log::error!(target: "app" ,"[clash error]: {}", err);
write_log(err); write_log(err);
} }
CommandEvent::Error(err) => log::error!(target: "app" ,"{err}"),
CommandEvent::Terminated(_) => break,
_ => {} _ => {}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment