diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-04-25 18:42:54 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-04-25 18:42:54 +0000 |
commit | 98a3014966f490ef77a8f934bfb9c2c8e3b8ef5d (patch) | |
tree | b3978a3bbee798bd56c1eb42d8c27cbfd8caab84 /libs/ardour | |
parent | a76d015b8b13c382e1a57e2ac604317ada1dbdc2 (diff) |
fix crash when opening session after one in which control surface(s) were used2.0rc2
git-svn-id: svn://localhost/ardour2/trunk@1745 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/control_protocol_manager.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/control_protocol_manager.cc b/libs/ardour/control_protocol_manager.cc index f7ae7f2b63..c79aa74698 100644 --- a/libs/ardour/control_protocol_manager.cc +++ b/libs/ardour/control_protocol_manager.cc @@ -97,6 +97,7 @@ ControlProtocolManager::drop_session () for (list<ControlProtocolInfo*>::iterator p = control_protocol_info.begin(); p != control_protocol_info.end(); ++p) { // otherwise the ControlProtocol instances are not recreated in set_session (*p)->requested = true; + (*p)->protocol = 0; } } } |