Skip to content

Commit

Permalink
[fix] PoolNode::stop bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Neels99 committed Mar 15, 2024
1 parent eb8cba8 commit 92377db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libnet/pool_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ class PoolNode : public PoolNodeData, PoolNodeServer, PoolNodeClient, protected

PoolNodeServer::stop();
PoolNodeClient::stop();

peers.clear();
}
};
#undef SET_POOL_DEFAULT_HANDLER

0 comments on commit 92377db

Please sign in to comment.