summaryrefslogtreecommitdiffstats
path: root/pyload/remote/wsbackend/AsyncHandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/remote/wsbackend/AsyncHandler.py')
-rw-r--r--pyload/remote/wsbackend/AsyncHandler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyload/remote/wsbackend/AsyncHandler.py b/pyload/remote/wsbackend/AsyncHandler.py
index b936de898..7eee40707 100644
--- a/pyload/remote/wsbackend/AsyncHandler.py
+++ b/pyload/remote/wsbackend/AsyncHandler.py
@@ -71,6 +71,8 @@ class AsyncHandler(AbstractHandler):
self.clients.remove(req)
except ValueError: # ignore when not in list
pass
+ except AttributeError: # connection could be uninitialized
+ pass
@lock
def add_event(self, event, *args):