Commit e362b491 authored by Alexander Schrode's avatar Alexander Schrode Committed by oroulet

fix missing renaming

parent 3cede031
......@@ -579,10 +579,10 @@ class Client:
"""
Close session
"""
if self._watch_task:
self._watch_task.cancel()
if self._monitor_server_task:
self._monitor_server_task.cancel()
try:
await self._watch_task
await self._monitor_server_task
except Exception:
_logger.exception("Error while closing watch_task")
if self._renew_channel_task:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment