summaryrefslogtreecommitdiff
path: root/libs/ardour/graph.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-06-28 20:49:15 +0000
committerCarl Hetherington <carl@carlh.net>2010-06-28 20:49:15 +0000
commit55695bfe2d25e87ec160df29b531601f72e9eb6e (patch)
treef125207df6fa10277a932bcf6aabc7bbac767230 /libs/ardour/graph.cc
parentbf7023bc7f91c5cb6b9b6235d5368f0cf5d25c82 (diff)
Fix hang on session going away when there is nothing to process. Fixes #3284.
git-svn-id: svn://localhost/ardour2/branches/3.0@7316 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/graph.cc')
-rw-r--r--libs/ardour/graph.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc
index b590f1fff4..0987b979a2 100644
--- a/libs/ardour/graph.cc
+++ b/libs/ardour/graph.cc
@@ -394,7 +394,7 @@ Graph::main_thread()
this->prep();
- if (_graph_empty) {
+ if (_graph_empty && !_quit_threads) {
sem_post (&_callback_done_sem);
goto again;
}