diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index 30c2113c06..2ca80e3eee 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -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; } }