synchronous shutdown of process graph.
[ardour.git] / libs / ardour / audioengine.cc
index 00a381fcb5059b8da78298af010b7d5a9c094e4f..8091e2516c7e03710af9122f666b175da188f820 100644 (file)
@@ -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;