From: kaliko Date: Sun, 15 Dec 2013 15:42:22 +0000 (+0100) Subject: Removed destructor introduced in 8ce90ac3 X-Git-Tag: mpd-sima/0.12.0pr2~4 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=d3a79cbcc874db45b8b5f18101c10a6134a3af0a;p=mpd-sima.git Removed destructor introduced in 8ce90ac3 Unidentified side effect: socket error on daemonize Anyway, this ain't the place to deal with MPD sockets --- 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()