Skip to content

Commit

Permalink
pool: handle RelayNotification::Shutdown variant in `InnerRelay::wa…
Browse files Browse the repository at this point in the history
…it_for_ok`

Signed-off-by: Yuki Kishimoto <[email protected]>
  • Loading branch information
yukibtc committed Nov 3, 2024
1 parent a3dff63 commit 8fd46ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/nostr-relay-pool/src/relay/inner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,7 @@ impl InnerRelay {
)));
}
}
RelayNotification::Shutdown => break,
_ => (),
}
}
Expand Down

0 comments on commit 8fd46ab

Please sign in to comment.