diff --git a/sickbeard/__init__.py b/sickbeard/__init__.py index 7eec8f2e..ae55f657 100644 --- a/sickbeard/__init__.py +++ b/sickbeard/__init__.py @@ -1303,13 +1303,7 @@ def saveAll(): def saveAndShutdown(): halt() saveAll() - - for fd in IOLoop.current()._handlers.keys(): - try: - os.close(fd) - except Exception: - pass - + def invoke_command(to_call, *args, **kwargs): def delegate():