summaryrefslogtreecommitdiff
path: root/libs/ardour/butler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/butler.cc')
-rw-r--r--libs/ardour/butler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/butler.cc b/libs/ardour/butler.cc
index addf6ddf27..571ac5f883 100644
--- a/libs/ardour/butler.cc
+++ b/libs/ardour/butler.cc
@@ -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;
}