Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
c2c2c296
Commit
c2c2c296
authored
Mar 14, 2018
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
NEWS
NEWS
+2
-0
ThreadInputStream.cxx
src/input/ThreadInputStream.cxx
+1
-1
No files found.
NEWS
View file @
c2c2c296
ver 0.20.19 (not yet released)
ver 0.20.19 (not yet released)
* protocol
* protocol
- validate absolute seek time, reject negative values
- validate absolute seek time, reject negative values
* input
- mms: fix lockup bug
* macOS: fix crash bug
* macOS: fix crash bug
ver 0.20.18 (2018/02/24)
ver 0.20.18 (2018/02/24)
...
...
src/input/ThreadInputStream.cxx
View file @
c2c2c296
...
@@ -68,7 +68,7 @@ ThreadInputStream::ThreadFunc()
...
@@ -68,7 +68,7 @@ ThreadInputStream::ThreadFunc()
Open
();
Open
();
}
catch
(...)
{
}
catch
(...)
{
postponed_exception
=
std
::
current_exception
();
postponed_exception
=
std
::
current_exception
();
cond
.
broadcast
();
SetReady
();
return
;
return
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment