mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
clear port-list before query.
fixes crash in PortManager::silence_outputs()
This commit is contained in:
parent
9ec3085d71
commit
59067d3568
1 changed files with 2 additions and 0 deletions
|
|
@ -261,6 +261,8 @@ PortManager::get_ports (DataType type, PortList& pl)
|
|||
int
|
||||
PortManager::get_ports (const string& port_name_pattern, DataType type, PortFlags flags, vector<string>& s)
|
||||
{
|
||||
s.clear();
|
||||
|
||||
if (!_backend) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue