diff --git a/src/wormhole/_dilation/connector.py b/src/wormhole/_dilation/connector.py index e4b4885..32ed9c6 100644 --- a/src/wormhole/_dilation/connector.py +++ b/src/wormhole/_dilation/connector.py @@ -234,7 +234,7 @@ class Connector(object): def stop_pending_connections(self): d = self._pending_connections.when_next_empty() - [c.loseConnection() for c in self._pending_connections] + [c.disconnect() for c in self._pending_connections] return d def break_cycles(self):