From bf25dc68cfee0b1e7e93450c91085028d9130eed Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sun, 10 Feb 2019 15:57:55 -0800 Subject: [PATCH] connector: use disconnect(), not loseConnection() --- src/wormhole/_dilation/connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):