mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
We were chasing a red herring
It should actually be perfectly ok to send `noidle` before the call to `recv_idle`. It just means the `recv_idle` will return immediately.
This commit is contained in:
parent
cacb0b0124
commit
f22b5b022c
@ -33,8 +33,6 @@ extension MPDClient {
|
||||
self.isIdle = true
|
||||
}
|
||||
}
|
||||
|
||||
// noIdle could happen here which will crash
|
||||
|
||||
if shouldIdle {
|
||||
let result = mpd_recv_idle(connection, true)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user