[FIX] wsgi: close explicitly the socket
bzr revid: chs@openerp.com-20120921135706-3124bcqt5pbac7ir
This commit is contained in:
@@ -456,6 +456,7 @@ def stop_server():
|
||||
"""
|
||||
if httpd:
|
||||
httpd.shutdown()
|
||||
openerp.netsvc.close_socket(httpd.socket)
|
||||
|
||||
# Master process id, can be used for signaling.
|
||||
arbiter_pid = None
|
||||
|
||||
Reference in New Issue
Block a user