diff options
| author | Denis Vermylen <dve@odoo.com> | 2019-09-09 14:28:37 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-09-21 13:59:06 +0000 |
| commit | 4fb712f729970e71d7b319577f0ee201eeae0cda (patch) | |
| tree | 30a7ee79729ee032339f5f96728e87beed86cacd /odoo/service | |
| parent | 81df4d07b7129387c4319e87d600f4b6186430b4 (diff) | |
[FIX] service: do not call nonexistent function
omission in d26e253edd1944ccdba911df7e108f7ac1cde15d
kill -3 (SIGQUIT) is not processed like the other signals so it doesn't
go through this bit of code, but leaving the AttributeError lurking
there is not a good idea.
closes odoo/odoo#37221
X-original-commit: ac65ef0208a5ec814d263aeb44a98b47a5ee3947
Signed-off-by: Denis Vermylen <Icallhimtest@users.noreply.github.com>
Diffstat (limited to 'odoo/service')
| -rw-r--r-- | odoo/service/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/service/server.py b/odoo/service/server.py index 207d590e724..9c4eafcc948 100644 --- a/odoo/service/server.py +++ b/odoo/service/server.py @@ -685,7 +685,7 @@ class PreforkServer(CommonServer): raise KeyboardInterrupt elif sig == signal.SIGQUIT: # dump stacks on kill -3 - self.dumpstacks() + dumpstacks() elif sig == signal.SIGUSR1: # log ormcache stats on kill -SIGUSR1 log_ormcache_stats() |
