From 3a3d5c41bec55ebf620957bf4a4ee9a501c6d4f6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 28 Aug 2015 15:39:06 +0200 Subject: synchronous shutdown of process graph. --- libs/ardour/audioengine.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/ardour/audioengine.cc') diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index 00a381fcb5..8091e2516c 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -776,6 +776,8 @@ AudioEngine::drop_backend () { if (_backend) { _backend->stop (); + // Stopped is needed for Graph to explicitly terminate threads + Stopped (); /* EMIT SIGNAL */ _backend->drop_device (); _backend.reset (); _running = false; -- cgit v1.2.3