#1410 Call task_done() on update queue after update processing finished (#1428)

This commit is contained in:
Ales Dokshanin 2019-08-23 21:54:07 +03:00 committed by Noam Meltzer
parent a1eabc0cae
commit 179cf14bd8
2 changed files with 2 additions and 0 deletions

View file

@ -16,6 +16,7 @@ Contributors
The following wonderful people contributed directly or indirectly to this project:
- `Alateas <https://github.com/alateas>`_
- `Ales Dokshanin <https://github.com/alesdokshanin>`_
- `Ambro17 <https://github.com/Ambro17>`_
- `Anton Tagunov <https://github.com/anton-tagunov>`_
- `Avanatiker <https://github.com/Avanatiker>`_

View file

@ -274,6 +274,7 @@ class Dispatcher(object):
self.logger.debug('Processing Update: %s' % update)
self.process_update(update)
self.update_queue.task_done()
self.running = False
self.logger.debug('Dispatcher thread stopped')