1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00
This commit is contained in:
Rob Ede
2022-12-18 17:48:09 +00:00
parent 4df66d1e8a
commit 43d26f194d
3 changed files with 4 additions and 3 deletions

View File

@ -59,6 +59,7 @@ impl StopHandle {
/// Sends stop signal through contained server handle.
pub(crate) fn stop(&self, graceful: bool) {
#[allow(clippy::let_underscore_future)]
let _ = self.inner.lock().as_ref().unwrap().stop(graceful);
}
}