Skip to content
Snippets Groups Projects
Commit 3cf6b340 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

set discovery service thread to daemon to avoid indefinitely hang when stopping the server

parent e28e66d8
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ class DiscoveryService:
LOGGER.debug(f'Start discovery thread (listening on {self._discoveryPort}, responding on {self._responsePort})')
x = threading.Thread(target=self.__loop)
x.daemon = True
x.start()
def __loop(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment