Fixes 7004 - Ardour crash on Just Quit when AudioEngine is stopped. AudioEngine::stop() if running() is not true and _backend->stop() is true, mutex was being unlocked without being locked.
This commit is contained in:
parent
f41bc70ee9
commit
3b7cb8275a
@ -906,7 +906,9 @@ AudioEngine::stop (bool for_latency)
|
|||||||
stop_engine = false;
|
stop_engine = false;
|
||||||
} else {
|
} else {
|
||||||
if (_backend->stop ()) {
|
if (_backend->stop ()) {
|
||||||
pl.release ();
|
if (pl.locked ()) {
|
||||||
|
pl.release ();
|
||||||
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user