mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 15:37:48 +01:00
fix mistake in cleaning up control protocols when reloading sessions
git-svn-id: svn://localhost/ardour2/branches/2.0.1@1781 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
631e2535bc
commit
2c37c19290
1 changed files with 4 additions and 2 deletions
|
|
@ -96,8 +96,10 @@ 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;
|
||||
if ((*p)->protocol) {
|
||||
(*p)->requested = true;
|
||||
(*p)->protocol = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue