diff --git a/couchpotato/runner.py b/couchpotato/runner.py index 6560f55a..3a779ba2 100644 --- a/couchpotato/runner.py +++ b/couchpotato/runner.py @@ -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: