-
- Downloads
[FIX] bus: fix interface error on server stop
When stopping the server, all cursors are closed. The issue is that the ImDispatch thread is kept alive until the main thread exits. This can lead to errors during server stop: the ImDispatch thread could try to poll an already closed connection thus raising a `psycopg2.InterfaceError` exception. This commit solves the issue by hiding the interface error when it occurs during server stop. closes odoo/odoo#100002 X-original-commit: 83777078 Signed-off-by:Julien Castiaux <juc@odoo.com>
Please register or sign in to comment