fix crash when opening session after one in which control surface(s) were used

git-svn-id: svn://localhost/ardour2/trunk@1745 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-04-25 18:42:54 +00:00
parent a76d015b8b
commit 98a3014966
2 changed files with 2 additions and 1 deletions

View file

@ -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;
}
}
}

View file

@ -1,4 +1,4 @@
#ifndef __ardour_svn_revision_h__
#define __ardour_svn_revision_h__
static const char* ardour_svn_revision = "1681";
static const char* ardour_svn_revision = "1744";
#endif