summaryrefslogtreecommitdiff
path: root/libs/ardour/session_butler.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-06-30 18:08:05 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-06-30 18:08:05 +0000
commitef60337b54be02b36a91fc2f5f48b7b229ea03ff (patch)
tree65391de39baabcb4b64cdf6fc2d471a941f989ba /libs/ardour/session_butler.cc
parent7658b9a0205141c1adece9520cb60b35d8d97fb3 (diff)
re-apply 6864
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7342 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_butler.cc')
-rw-r--r--libs/ardour/session_butler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/session_butler.cc b/libs/ardour/session_butler.cc
index 02f27bc443..9849798fd0 100644
--- a/libs/ardour/session_butler.cc
+++ b/libs/ardour/session_butler.cc
@@ -284,7 +284,7 @@ Session::butler_thread_work ()
}
- if (i != dsl->end()) {
+ if (i != dsl->begin() && i != dsl->end()) {
/* we didn't get to all the streams */
cerr << "Some streams not serviced, DWO = true\n";
disk_work_outstanding = true;
@@ -339,7 +339,7 @@ Session::butler_thread_work ()
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;
}