-
- 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#99849
Signed-off-by:
Julien Castiaux <juc@odoo.com>
Loading
Please register or sign in to comment