From 55695bfe2d25e87ec160df29b531601f72e9eb6e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 28 Jun 2010 20:49:15 +0000 Subject: 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 --- libs/ardour/graph.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') 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; } -- cgit v1.2.3