Commit e1610933 authored by Max Kellermann's avatar Max Kellermann

input/last: clear "uri" in OnCloseTimer()

Without clearing the "uri" field, the next Open() call attempts to reuse the old InputStream, but it has already been closed, so Open() always returns nullptr. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1300
parent 72621531
ver 0.23.2 (not yet released)
* protocol
- fix "albumart" timeout bug
* input
- nfs: fix playback bug
* output
......
......@@ -42,5 +42,6 @@ LastInputStream::OnCloseTimer() noexcept
{
assert(is);
uri.clear();
is.reset();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment