Skip to content

Commit

Permalink
Merge pull request #182 from rustaceanrob/blocking-10-28
Browse files Browse the repository at this point in the history
fix(client): remove `async` from `shutdown_blocking`
  • Loading branch information
rustaceanrob authored Oct 28, 2024
2 parents 602e314 + 0186e25 commit 0cdad31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ macro_rules! impl_core_client {
/// # Errors
///
/// If the node has already stopped running.
pub async fn shutdown_blocking(&self) -> Result<(), ClientError> {
pub fn shutdown_blocking(&self) -> Result<(), ClientError> {
self.ntx
.blocking_send(ClientMessage::Shutdown)
.map_err(|_| ClientError::SendError)
Expand Down

0 comments on commit 0cdad31

Please sign in to comment.