Skip to content

Commit

Permalink
Make disconnect() synchronous
Browse files Browse the repository at this point in the history
  • Loading branch information
pferreir committed Jul 30, 2017
1 parent eb6f941 commit e70324e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion secret_handshake/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def write(self, data):
async def read(self):
return await self.read_stream.read()

async def disconnect(self):
def disconnect(self):
self.writer.close()

async def __aiter__(self):
Expand Down

0 comments on commit e70324e

Please sign in to comment.