Make disconnect() synchronous
This commit is contained in:
parent
eb6f9413bd
commit
e70324ed11
@ -40,7 +40,7 @@ class SHSSocket(object):
|
|||||||
async def read(self):
|
async def read(self):
|
||||||
return await self.read_stream.read()
|
return await self.read_stream.read()
|
||||||
|
|
||||||
async def disconnect(self):
|
def disconnect(self):
|
||||||
self.writer.close()
|
self.writer.close()
|
||||||
|
|
||||||
async def __aiter__(self):
|
async def __aiter__(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user