Fix service unregistration; the service will get cleaned up when Avahi notices that it has gone away so we don't have to delete it ourselves

This commit is contained in:
Dan Williams 2006-08-16 11:15:59 -04:00
parent 6b181ced13
commit 2a50bbd3ca

View File

@ -661,8 +661,6 @@ class PresenceService(object):
if not group: if not group:
raise ValueError("Service was not a local service provided by this laptop!") raise ValueError("Service was not a local service provided by this laptop!")
group.Free() group.Free()
key = (service.get_full_name(), service.get_type())
del self._services[key]
def register_service_type(self, stype): def register_service_type(self, stype):
"""Requests that the Presence service look for and recognize """Requests that the Presence service look for and recognize