From dd58e9b7b6d4f0d49506fb84142a2eb9f87f848a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 21 Jun 2017 12:56:06 -0400 Subject: [PATCH] force auditioner to emit GoingAway at the right time, so that its disk reader/writer objects drop their reference --- libs/ardour/session.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index c4dd2c7be4..3f4ec778a4 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -735,6 +735,7 @@ Session::destroy () /* need to remove auditioner before monitoring section * otherwise it is re-connected */ + auditioner->drop_references (); auditioner.reset (); /* drop references to routes held by the monitoring section