No need to close the socket when you're told that the socket is closed
This commit is contained in:
parent
474805c9be
commit
e09729fe77
@ -39,7 +39,3 @@ class MpdServer(asyncore.dispatcher):
|
||||
logger.info(u'MPD client connection from [%s]:%s',
|
||||
client_socket_address[0], client_socket_address[1])
|
||||
MpdSession(self, client_socket, client_socket_address)
|
||||
|
||||
def handle_close(self):
|
||||
"""Called by asyncore when the socket is closed."""
|
||||
self.close()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user