diff --git a/src/common/zeroconf/connection_zeroconf.py b/src/common/zeroconf/connection_zeroconf.py index 8ab243490..537c23a74 100644 --- a/src/common/zeroconf/connection_zeroconf.py +++ b/src/common/zeroconf/connection_zeroconf.py @@ -216,6 +216,7 @@ class ConnectionZeroconf(ConnectionHandlersZeroconf): if self.connection: # make sure previous connection is completely closed self.last_connection = None + self.connection.listener.disconnect() self.connection = None # stop calling the timeout self.call_resolve_timeout = False