fix traceback with zeroconf under windows. Fixes #5652
This commit is contained in:
parent
9dedf990bd
commit
103a6ccd51
|
@ -274,9 +274,9 @@ class Zeroconf:
|
||||||
def disconnect(self):
|
def disconnect(self):
|
||||||
if self.connected:
|
if self.connected:
|
||||||
self.connected = False
|
self.connected = False
|
||||||
self.browse_sdRef.close()
|
if hasattr(self, 'browse_sdRef'):
|
||||||
self.remove_announce()
|
self.browse_sdRef.close()
|
||||||
|
self.remove_announce()
|
||||||
|
|
||||||
def browse_domain(self, domain=None):
|
def browse_domain(self, domain=None):
|
||||||
gajim.log.debug('starting to browse')
|
gajim.log.debug('starting to browse')
|
||||||
|
|
Loading…
Reference in New Issue