diff --git a/src/ctl.rs b/src/ctl.rs index 3764cd4..786882b 100644 --- a/src/ctl.rs +++ b/src/ctl.rs @@ -688,7 +688,7 @@ pub(crate) async fn listen( let _task = spawn(async move { drop(sd.get_initate_shutdown_watcher().changed().await); info!("Send close to ctl socket, because we started shutting down."); - drop(close_ctl.send(true)); + let _ = close_ctl.send(true); }) .await; diff --git a/src/shutdown.rs b/src/shutdown.rs index 08cf928..a7274c5 100644 --- a/src/shutdown.rs +++ b/src/shutdown.rs @@ -290,7 +290,7 @@ impl Manager { recieved += 1; } info!("Sending shutdown signal"); - drop(channel.send(())); + let _ = channel.send(()); }); } /// Waits for Kvarn to enter the `shutdown` state.