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
This commit is contained in:
Robin Gareus 2023-06-15 16:20:00 +02:00
parent 73ed3bc7e0
commit 3e27df9040
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 0 additions and 1 deletions

View File

@ -243,7 +243,6 @@ SessionUtils::unload_session (Session *s)
{
delete s;
AudioEngine::instance()->stop ();
AudioEngine::destroy ();
}
void