summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2018-12-28 15:23:19 -0800
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2018-12-28 15:23:19 -0800
commit74f3a1aee029c5b6c6cd742e557b940535ae337a (patch)
treeeea9775ef2935cf09e3a24a2c79d1d1c80705f1e
parent78f8fbb99381a55a3753a5df2f60506103e98085 (diff)
downloadhangouts-xmpp-gateway-74f3a1aee029c5b6c6cd742e557b940535ae337a.tar.gz
_stop is a coroutine, so annotate it as oneHEADmaster
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-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()