Calling connection.close() instead of self.close() to actually close the connection. (#26257)

pull/26160/merge
James Mighion 8 years ago committed by Ganesh Nalawade
parent bc4ff8aed9
commit 76cc19d0f2

@ -202,7 +202,7 @@ class Server():
self.socket.close() self.socket.close()
if self.connection: if self.connection:
display.display('closing the connection', log_only=True) display.display('closing the connection', log_only=True)
self.close() self.connection.close()
except: except:
pass pass
finally: finally:

Loading…
Cancel
Save