mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-28 08:49:29 -05:00
catch more errors
This commit is contained in:
parent
ea8ffea1c9
commit
73104a81aa
@ -1,4 +1,5 @@
|
||||
#![deny(clippy::all)]
|
||||
#![deny(unused_must_use)]
|
||||
|
||||
use anyhow::*;
|
||||
use async_std::prelude::*;
|
||||
|
@ -1,4 +1,5 @@
|
||||
#![deny(clippy::all)]
|
||||
#![deny(unused_must_use)]
|
||||
#![cfg_attr(target_arch = "wasm32", no_std)]
|
||||
|
||||
#[macro_use]
|
||||
|
@ -205,7 +205,7 @@ impl VeilidCore {
|
||||
// stop the node gracefully because the veilid api was dropped
|
||||
pub(crate) async fn shutdown(self) {
|
||||
let mut inner = self.inner.lock();
|
||||
Self::internal_shutdown(&mut *inner);
|
||||
Self::internal_shutdown(&mut *inner).await;
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -1,5 +1,6 @@
|
||||
#![forbid(unsafe_code)]
|
||||
#![deny(clippy::all)]
|
||||
#![deny(unused_must_use)]
|
||||
|
||||
mod client_api;
|
||||
mod settings;
|
||||
|
Loading…
Reference in New Issue
Block a user