X Tutup
Skip to content

updater.py modification #175

@lopanta

Description

@lopanta

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup