From 18d7884c2d007ce14d5663fb21f42d44181b6470 Mon Sep 17 00:00:00 2001 From: echel0n Date: Mon, 30 Jun 2014 02:42:04 -0700 Subject: [PATCH] Reverting previous changes --- sickbeard/__init__.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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():