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:
parent
73ed3bc7e0
commit
3e27df9040
@ -243,7 +243,6 @@ SessionUtils::unload_session (Session *s)
|
|||||||
{
|
{
|
||||||
delete s;
|
delete s;
|
||||||
AudioEngine::instance()->stop ();
|
AudioEngine::instance()->stop ();
|
||||||
AudioEngine::destroy ();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user