Calling connection.close() instead of self.close() to actually close the connection. (#26257)
This commit is contained in:
parent
bc4ff8aed9
commit
76cc19d0f2
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ class Server():
|
|||
self.socket.close()
|
||||
if self.connection:
|
||||
display.display('closing the connection', log_only=True)
|
||||
self.close()
|
||||
self.connection.close()
|
||||
except:
|
||||
pass
|
||||
finally:
|
||||
|
|
Loading…
Reference in a new issue