From d14d30216b11afe052017f0bdc4967bc6429f01e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 9 Jun 2012 21:07:33 +0000 Subject: [PATCH] Delete the session before the AudioEngine is stopped, as the mackie surface code wants to send out MIDI as it dies. git-svn-id: svn://localhost/ardour2/branches/3.0@12638 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/test/test_needing_session.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/ardour/test/test_needing_session.cc b/libs/ardour/test/test_needing_session.cc index 70e3362f33..07b5abef8a 100644 --- a/libs/ardour/test/test_needing_session.cc +++ b/libs/ardour/test/test_needing_session.cc @@ -74,10 +74,9 @@ void TestNeedingSession::tearDown () { AudioEngine::instance()->remove_session (); + delete _session; AudioEngine::instance()->stop (true); - delete _session; - MIDI::Manager::destroy (); AudioEngine::destroy (); }