13
0

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:
Nathan Stewart 2016-09-06 20:14:25 -04:00 committed by Paul Davis
parent f41bc70ee9
commit 3b7cb8275a

View File

@ -906,7 +906,9 @@ AudioEngine::stop (bool for_latency)
stop_engine = false;
} else {
if (_backend->stop ()) {
pl.release ();
if (pl.locked ()) {
pl.release ();
}
return -1;
}
}