commit | 74f3a1aee029c5b6c6cd742e557b940535ae337a | [log] [tgz] |
---|---|---|
author | James Bottomley <James.Bottomley@HansenPartnership.com> | Fri Dec 28 15:23:19 2018 -0800 |
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Fri Dec 28 15:23:19 2018 -0800 |
tree | eea9775ef2935cf09e3a24a2c79d1d1c80705f1e | |
parent | 78f8fbb99381a55a3753a5df2f60506103e98085 [diff] |
_stop is a coroutine, so annotate it as one Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
diff --git a/hangupsthread.py b/hangupsthread.py index ba78d55..4cc4065 100644 --- a/hangupsthread.py +++ b/hangupsthread.py
@@ -44,6 +44,7 @@ if self.presence_timer is not None: self.presence_timer.cancel() + @asyncio.coroutine def _stop(self): yield from self.client.disconnect() self.loop.stop()