summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hangupsthread.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hangupsthread.py b/hangupsthread.py
index ba78d55..4cc4065 100644
--- a/hangupsthread.py
+++ b/hangupsthread.py
@@ -44,6 +44,7 @@ class HangupsThread(threading.Thread):
if self.presence_timer is not None:
self.presence_timer.cancel()
+ @asyncio.coroutine
def _stop(self):
yield from self.client.disconnect()
self.loop.stop()