13
0

Fix for deadlock in Session::remove_source that was committed in rev 1815

git-svn-id: svn://localhost/ardour2/trunk@2253 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Tim Mayberry 2007-08-06 04:45:24 +00:00
parent f420fed45d
commit d594470148

View File

@ -2714,14 +2714,10 @@ Session::remove_source (boost::weak_ptr<Source> src)
{
Glib::Mutex::Lock lm (source_lock);
{
Glib::Mutex::Lock lm (source_lock);
if ((i = sources.find (source->id())) != sources.end()) {
sources.erase (i);
}
}
if ((i = sources.find (source->id())) != sources.end()) {
sources.erase (i);
}
}
if (!_state_of_the_state & InCleanup) {