diff options
| author | XavierDo <xdo@odoo.com> | 2019-03-15 13:19:35 +0000 |
|---|---|---|
| committer | Xavier-Do <xdo@odoo.com> | 2019-03-19 09:43:10 +0000 |
| commit | a4049296d9a343757c01fa3f3d32d70a0db77ab1 (patch) | |
| tree | 07094cd0c441ffb4f6fb7390d933c98381176e63 /addons/web_editor/static/src | |
| parent | 84df9948ed07310e9343876935c0050c996b73bd (diff) | |
[IMP] core: avoid to process work when worker is 'killed' during sleep.
If a signal is received during the worker _runloop sleep,
the worker will be marked as alive=False but process_work
will still be called once.
This commit prevents that by checking the worker state before
calling process_work.
closes odoo/odoo#31885
Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions
