13
0

(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:
Paul Davis 2010-04-06 18:17:46 +00:00
parent e69aca2842
commit e3ed1adadd

View File

@ -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 */
disk_work_outstanding = true;
}
@ -294,7 +294,7 @@ Butler::thread_work ()
_session.request_stop ();
}
if (i != dsl->end()) {
if (i != dsl->begin() && i != dsl->end()) {
/* we didn't get to all the streams */
disk_work_outstanding = true;
}