set future on awaited self.send() after we've processed for session state
This commit is contained in:
parent
47223c257c
commit
c4019e6242
1 changed files with 1 additions and 1 deletions
|
@ -192,9 +192,9 @@ class Server(IServer):
|
|||
await self._writer.drain()
|
||||
|
||||
for line in lines:
|
||||
line.future.set_result(line)
|
||||
await self._on_write_line(line.line)
|
||||
await self.line_send(line.line)
|
||||
line.future.set_result(line)
|
||||
|
||||
return [l.line for l in lines]
|
||||
|
||||
|
|
Loading…
Reference in a new issue