From 4fb712f729970e71d7b319577f0ee201eeae0cda Mon Sep 17 00:00:00 2001 From: Denis Vermylen Date: Mon, 9 Sep 2019 14:28:37 +0000 Subject: [PATCH] [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 --- odoo/service/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()