Clean up
This commit is contained in:
parent
1f5fc58e06
commit
a971b7e064
3 changed files with 35 additions and 100 deletions
|
|
@ -65,7 +65,7 @@ class Connection:
|
|||
self._stopped = True
|
||||
await self.reconnect() # _run() does the cleaning up now.
|
||||
await self._runtask
|
||||
|
||||
|
||||
async def reconnect(self):
|
||||
"""
|
||||
Reconnect to the url.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue