fix: remove extraneous log output wrt stopping icx-proxy
When dfx starts, it logs "Stopping icx-proxy..." "Stopped" when it didn't actually do that.
@@ -101,6 +101,7 @@ impl IcxProxy {
}
fn stop_icx_proxy(&mut self) {
+ if self.stop_sender.is_some() || self.thread_join.is_some() {
info!(self.logger, "Stopping icx-proxy...");
if let Some(sender) = self.stop_sender.take() {
let _ = sender.send(());
@@ -112,6 +113,7 @@ impl IcxProxy {
info!(self.logger, "Stopped.");
}
}
+}
impl Actor for IcxProxy {
type Context = Context<Self>;
