mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 13:46:30 +01:00
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:
parent
a76d015b8b
commit
98a3014966
2 changed files with 2 additions and 1 deletions
|
|
@ -97,6 +97,7 @@ ControlProtocolManager::drop_session ()
|
||||||
for (list<ControlProtocolInfo*>::iterator p = control_protocol_info.begin(); p != control_protocol_info.end(); ++p) {
|
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
|
// otherwise the ControlProtocol instances are not recreated in set_session
|
||||||
(*p)->requested = true;
|
(*p)->requested = true;
|
||||||
|
(*p)->protocol = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __ardour_svn_revision_h__
|
#ifndef __ardour_svn_revision_h__
|
||||||
#define __ardour_svn_revision_h__
|
#define __ardour_svn_revision_h__
|
||||||
static const char* ardour_svn_revision = "1681";
|
static const char* ardour_svn_revision = "1744";
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue