fix botched fix

git-svn-id: svn://localhost/ardour2/branches/3.0@8007 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-11-10 23:31:53 +00:00
parent 639542b410
commit 9e14ce38e0

View file

@ -89,10 +89,11 @@ Graph::Graph (Session & session)
}
for (int i = 1; i < num_threads; ++i) {
if (AudioEngine::instance()->create_process_thread (boost::bind (&Graph::helper_thread, this), &a_thread, 100000));
if (AudioEngine::instance()->create_process_thread (boost::bind (&Graph::helper_thread, this), &a_thread, 100000) == 0) {
_thread_list.push_back (a_thread);
}
}
}
void
Graph::session_going_away()