Deactivate session on socket close
This commit is contained in:
parent
e7669af962
commit
8d5267c039
1 changed files with 1 additions and 0 deletions
|
@ -743,6 +743,7 @@ class Session():
|
|||
line = self.readline()
|
||||
|
||||
if line == '':
|
||||
self.state &= ~SessionState.ACTIVE
|
||||
return
|
||||
|
||||
tokens = self.RE_SPLIT.split(line.rstrip())
|
||||
|
|
Loading…
Add table
Reference in a new issue