-
Notifications
You must be signed in to change notification settings - Fork 6k
updater.py modification #175
Copy link
Copy link
Closed
Description
In order to have a nice shutdown, I suggest to modify updater.py putting self. to the two thread in
with self.__lock:
of
def start_polling(self, poll_interval=0.0, timeout=10, network_delay=2):
and to add
self.dispatcher_thread.join()
self.updater_thread.join()
before
self.logger.debug("Dispatcher stopped.")
in
with self.__lock:
if self.running:
of
def stop(self):
thanks
lorenzo
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels