Commit c2c2c296 authored by Max Kellermann's avatar Max Kellermann

input/thread: set InputStream::ready after Open() failure

Without setting the "ready" flag, the caller will wait in WaitReady() forever, locking up MPD. Closes #252
parent c745e14f
ver 0.20.19 (not yet released)
* protocol
- validate absolute seek time, reject negative values
* input
- mms: fix lockup bug
* macOS: fix crash bug
ver 0.20.18 (2018/02/24)
......
......@@ -68,7 +68,7 @@ ThreadInputStream::ThreadFunc()
Open();
} catch (...) {
postponed_exception = std::current_exception();
cond.broadcast();
SetReady();
return;
}
......
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