Properly reset live_session on a SEL NUL
This commit is contained in:
parent
31bb3ed3c1
commit
29f1a0f46b
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue