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()
|
line = self.readline()
|
||||||
|
|
||||||
if line == '':
|
if line == '':
|
||||||
|
self.state &= ~SessionState.ACTIVE
|
||||||
return
|
return
|
||||||
|
|
||||||
tokens = self.RE_SPLIT.split(line.rstrip())
|
tokens = self.RE_SPLIT.split(line.rstrip())
|
||||||
|
|
Loading…
Add table
Reference in a new issue