(3.0 version of 2.0-ongoing) fix 100% CPU usage after killing JACK caused by faulty logic in butler thread main loop
git-svn-id: svn://localhost/ardour2/branches/3.0@6865 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e69aca2842
commit
e3ed1adadd
@ -240,7 +240,7 @@ Butler::thread_work ()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i != dsl->end()) {
|
if (i != dsl->begin() && i != dsl->end()) {
|
||||||
/* we didn't get to all the streams */
|
/* we didn't get to all the streams */
|
||||||
disk_work_outstanding = true;
|
disk_work_outstanding = true;
|
||||||
}
|
}
|
||||||
@ -294,7 +294,7 @@ Butler::thread_work ()
|
|||||||
_session.request_stop ();
|
_session.request_stop ();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i != dsl->end()) {
|
if (i != dsl->begin() && i != dsl->end()) {
|
||||||
/* we didn't get to all the streams */
|
/* we didn't get to all the streams */
|
||||||
disk_work_outstanding = true;
|
disk_work_outstanding = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user