mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
removed unneeded disconnect
This commit is contained in:
parent
495634c254
commit
fc06d84a5b
@ -888,10 +888,6 @@ class Client(MPDClient):
|
||||
self.last_status=status
|
||||
except MPDBase.ConnectionError:
|
||||
self.last_status={}
|
||||
try:
|
||||
self.disconnect()
|
||||
except:
|
||||
pass
|
||||
self.emitter.emit("disconnected")
|
||||
if self.disconnected_loop():
|
||||
self.disconnected_timeout_id=GLib.timeout_add(1000, self.disconnected_loop)
|
||||
|
Loading…
Reference in New Issue
Block a user