Skip to content

Commit

Permalink
Update subxt/src/backend/chain_head/follow_stream_driver.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasad1 authored Oct 10, 2024
1 parent d8494fe commit 87eec09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subxt/src/backend/chain_head/follow_stream_driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ impl<Hash: BlockHash> Shared<Hash> {
let mut shared = self.0.lock().unwrap();
shared.done = true;

// Wake up all subscribers so they can see that we're done.
// Wake up all subscribers so they get notified that backend was closed
for details in shared.subscribers.values_mut() {
if let Some(waker) = details.waker.take() {
waker.wake();
Expand Down

0 comments on commit 87eec09

Please sign in to comment.