Properly reset live_session on a SEL NUL

This commit is contained in:
Marks Polakovs 2020-04-12 23:35:58 +02:00
parent 31bb3ed3c1
commit 29f1a0f46b

View file

@ -368,6 +368,7 @@ async def telnet_server(
if sid == "NUL":
if live_session is not None:
await live_session.deactivate()
live_session = None
print("OKAY")
writer.write("OKAY\r\n".encode("utf-8"))
else: