Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion zeroconf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,6 @@ def __init__(
for check_type_ in self.types:
if not check_type_.endswith(service_type_name(check_type_, strict=False)):
raise BadTypeInNameException
self.daemon = True
self.zc = zc
self.addr = addr
self.port = port
Expand Down Expand Up @@ -1841,6 +1840,7 @@ def __init__(
) -> None:
threading.Thread.__init__(self)
super().__init__(zc, type_, handlers=handlers, listener=listener, addr=addr, port=port, delay=delay)
self.daemon = True
self.start()
self.name = "zeroconf-ServiceBrowser-%s-%s" % (
'-'.join([type_[:-7] for type_ in self.types]),
Expand Down