Close all attached after start

This commit is contained in:
Ruud
2014-06-23 01:17:06 +02:00
parent 94064ac7da
commit 50d6882a98
+1
View File
@@ -304,6 +304,7 @@ def runCouchPotato(options, base_path, args, data_dir = None, log_dir = None, En
loop.start()
server.close_all_connections()
server.stop()
loop.close(all_fds = True)
except Exception as e:
log.error('Failed starting: %s', traceback.format_exc())
try: