Fix save/load of MIDI automation state. Fixes #3354.
[ardour.git] / libs / ardour / graph.cc
index b590f1fff443ce8841f9e6c43087d4fb6d37d902..0987b979a2e5162609296c783bb42b533dee62a9 100644 (file)
@@ -394,7 +394,7 @@ Graph::main_thread()
 
         this->prep();
 
-        if (_graph_empty) {
+        if (_graph_empty && !_quit_threads) {
                 sem_post (&_callback_done_sem);
                 goto again;
         }