Browse Source

For normal exit, replace ExitSab(0) by flushes and os._exit(0) to prevent an exception.

tags/0.6.0
shypike 17 years ago
parent
commit
3b6d30e080
  1. 4
      main/SABnzbd.py

4
main/SABnzbd.py

@ -838,7 +838,9 @@ def main():
Notify("SAB_Shutdown", None)
logging.info('Leaving SABnzbd')
ExitSab(0)
sys.stderr.flush()
sys.stdout.flush()
os._exit(0)
#####################################################################

Loading…
Cancel
Save