Skip to content

Commit

Permalink
fix: Remove sender when channel disconnected
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWaWaR authored and doitian committed Apr 10, 2019
1 parent 973b8aa commit b00844b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions network/src/protocols/discovery.rs
Expand Up @@ -126,6 +126,7 @@ impl ServiceProtocol for DiscoveryProtocol {
} else {
warn!(target: "network", "other channel error: {:?}", err);
}
self.discovery_senders.remove(&session.id);
}
}
}
Expand Down

0 comments on commit b00844b

Please sign in to comment.