fix logic bug in deciding if there is outstanding disk i/o work in butler
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 4 Jul 2017 16:12:05 +0000 (12:12 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 18 Sep 2017 15:40:53 +0000 (11:40 -0400)
libs/ardour/butler.cc

index 3c4af592acfeeb6b78e98c7ca78d942a2ae1c6c5..4c4f330680b7af66debbcc48304f607dcdf27394 100644 (file)
@@ -275,7 +275,7 @@ Butler::thread_work ()
                        goto restart;
                }
 
-               disk_work_outstanding = flush_tracks_to_disk_normal (rl, err);
+               disk_work_outstanding = disk_work_outstanding || flush_tracks_to_disk_normal (rl, err);
 
                if (err && _session.actively_recording()) {
                        /* stop the transport and try to catch as much possible