Make disconnect() synchronous

This commit is contained in:
Pedro Ferreira 2017-07-30 22:38:24 +02:00
parent eb6f9413bd
commit e70324ed11

View File

@ -40,7 +40,7 @@ class SHSSocket(object):
async def read(self):
return await self.read_stream.read()
async def disconnect(self):
def disconnect(self):
self.writer.close()
async def __aiter__(self):