don't leave old _wait_for_futs lying around
This commit is contained in:
parent
d16d0f04b0
commit
383d3acc8d
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ class Server(IServer):
|
||||||
|
|
||||||
done, pend = await asyncio.wait([line_aw, wait_for_fut],
|
done, pend = await asyncio.wait([line_aw, wait_for_fut],
|
||||||
return_when=asyncio.FIRST_COMPLETED)
|
return_when=asyncio.FIRST_COMPLETED)
|
||||||
|
self._wait_for_fut = None
|
||||||
|
|
||||||
if wait_for_fut.done():
|
if wait_for_fut.done():
|
||||||
new_line_aw = list(pend)[0]
|
new_line_aw = list(pend)[0]
|
||||||
|
|
Loading…
Reference in a new issue