X-Git-Url: http://git.kaliko.me/?a=blobdiff_plain;f=sima%2Fclient.py;h=cbd564b2fe2ee242cf92e4c94475dba25a3c653e;hb=d3a79cbcc874db45b8b5f18101c10a6134a3af0a;hp=96ca7250092072ddb9f51a4140ff505db6d270c1;hpb=7a2f04fb2575f750eec0f02dd9204dfcbbe24222;p=mpd-sima.git diff --git a/sima/client.py b/sima/client.py index 96ca725..cbd564b 100644 --- a/sima/client.py +++ b/sima/client.py @@ -86,10 +86,6 @@ class PlayerClient(Player): wrapper = self._execute return lambda *args: wrapper(command, args) - def __del__(self): - """Avoid hanging sockets""" - self.disconnect() - def _execute(self, command, args): self._write_command(command, args) return self._client_wrapper()