[REVERT] openerp-server: revert partial change from commit 2397 that should not have gone through - need to find cleaner way of shutting down server

bzr revid: odo@openerp.com-20100624084009-0g9rozjaay5m26km
This commit is contained in:
Olivier Dony 2010-06-24 10:40:09 +02:00
parent 162c7b50ae
commit 5696ed3785
1 changed files with 1 additions and 2 deletions

View File

@ -176,8 +176,7 @@ def handler(signum, _):
logger.notifyChannel('shutdown', netsvc.LOG_INFO,
"Shutdown Server! - %s" % ( SIGNALS[signum], ))
logger.shutdown()
#sys.exit(0)
os._exit(0)
sys.exit(0)
for signum in SIGNALS:
signal.signal(signum, handler)