diff --git a/src/network/connectionpool.py b/src/network/connectionpool.py index 447e8170..517b3c98 100644 --- a/src/network/connectionpool.py +++ b/src/network/connectionpool.py @@ -38,6 +38,8 @@ class BMConnectionPool(object): for i in self.inboundConnections.values() + self.outboundConnections.values(): if not isinstance(i, network.bmproto.BMProto): continue + if not i.fullyEstablished: + continue try: del i.objectsNewToMe[hashid] except KeyError: