From d3a79cbcc874db45b8b5f18101c10a6134a3af0a Mon Sep 17 00:00:00 2001 From: kaliko Date: Sun, 15 Dec 2013 16:42:22 +0100 Subject: [PATCH] Removed destructor introduced in 8ce90ac3 Unidentified side effect: socket error on daemonize Anyway, this ain't the place to deal with MPD sockets --- sima/client.py | 4 ---- 1 file changed, 4 deletions(-) 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() -- 2.39.5