mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 10:14:35 +00:00
fix peer_remove & peer_add event handler (#27)
This commit is contained in:
@@ -146,8 +146,6 @@ impl Peer {
|
||||
impl Drop for Peer {
|
||||
fn drop(&mut self) {
|
||||
self.shutdown_notifier.notify_one();
|
||||
self.global_ctx
|
||||
.issue_event(GlobalCtxEvent::PeerRemoved(self.peer_node_id));
|
||||
tracing::info!("peer {} drop", self.peer_node_id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user