forked from platypush/platypush
service_type and service_name are actually needed even if empty
This commit is contained in:
parent
d8f7b15111
commit
a0d97c0f18
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ class Backend(Thread, EventGenerator):
|
||||||
self.bus.post(ZeroconfServiceRemovedEvent(service_type=self.zeroconf_info.type,
|
self.bus.post(ZeroconfServiceRemovedEvent(service_type=self.zeroconf_info.type,
|
||||||
service_name=self.zeroconf_info.name))
|
service_name=self.zeroconf_info.name))
|
||||||
else:
|
else:
|
||||||
self.bus.post(ZeroconfServiceRemovedEvent())
|
self.bus.post(ZeroconfServiceRemovedEvent(service_type=None, service_name=None))
|
||||||
|
|
||||||
self.zeroconf_info = None
|
self.zeroconf_info = None
|
||||||
self.zeroconf = None
|
self.zeroconf = None
|
||||||
|
|
Loading…
Reference in a new issue