13
0

Fix TransportMasterManager crash at exit

TransportMasterManager::destroy () destroys any remaining
TransportMasters which in turn unregister their ports.
However the PortEngine was already destroyed.
This commit is contained in:
Robin Gareus 2023-06-08 22:48:44 +02:00
parent a5946ba2e2
commit 7c7bf6c88b
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -754,6 +754,7 @@ ARDOUR::cleanup ()
engine_startup_connection.disconnect (); engine_startup_connection.disconnect ();
delete &ControlProtocolManager::instance (); delete &ControlProtocolManager::instance ();
ARDOUR::TransportMasterManager::instance ().clear ();
ARDOUR::AudioEngine::destroy (); ARDOUR::AudioEngine::destroy ();
ARDOUR::TransportMasterManager::destroy (); ARDOUR::TransportMasterManager::destroy ();