mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
fix up overly-persistent active state for control surfaces
git-svn-id: svn://localhost/ardour2/branches/3.0@12212 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
74c6ad4e15
commit
365658e734
2 changed files with 3 additions and 0 deletions
|
|
@ -723,6 +723,7 @@ private:
|
|||
ControlProtocolManager::instance().instantiate (*cpi);
|
||||
} else {
|
||||
ControlProtocolManager::instance().teardown (*cpi);
|
||||
cpi->requested = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -169,6 +169,8 @@ ControlProtocolManager::teardown (ControlProtocolInfo& cpi)
|
|||
}
|
||||
|
||||
cpi.protocol = 0;
|
||||
delete cpi.state;
|
||||
cpi.state = 0;
|
||||
dlclose (cpi.descriptor->module);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue