]> kaliko git repositories - mpd-sima.git/commitdiff
Removed destructor introduced in 8ce90ac3
authorkaliko <efrim@azylum.org>
Sun, 15 Dec 2013 15:42:22 +0000 (16:42 +0100)
committerkaliko <efrim@azylum.org>
Sun, 15 Dec 2013 15:42:22 +0000 (16:42 +0100)
Unidentified side effect: socket error on daemonize
Anyway, this ain't the place to deal with MPD sockets

sima/client.py

index 96ca7250092072ddb9f51a4140ff505db6d270c1..cbd564b2fe2ee242cf92e4c94475dba25a3c653e 100644 (file)
@@ -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()