diff options
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 496afad83b..b0aee20ce3 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -551,6 +551,12 @@ Session::destroy () drop_connections (); + /* shutdown control surface protocols while we still have ports + and the engine to move data to any devices. + */ + + ControlProtocolManager::instance().drop_protocols (); + _engine.remove_session (); #ifdef USE_TRACKS_CODE_FEATURES |