From 3e27df9040b61d8fd7571bfb413cf59cedb57d64 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 15 Jun 2023 16:20:00 +0200 Subject: [PATCH] Utils: Fix crash at exit due to engine destruction Ardour::cleanup destroys the TransportMasterManager instance which unregisters TransportMaster ports. This will crash if the engine was already destroyed. See also 7c7bf6c88b --- session_utils/common.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/session_utils/common.cc b/session_utils/common.cc index c481cd4e4f..6a0052ad13 100644 --- a/session_utils/common.cc +++ b/session_utils/common.cc @@ -243,7 +243,6 @@ SessionUtils::unload_session (Session *s) { delete s; AudioEngine::instance()->stop (); - AudioEngine::destroy (); } void