clear port-list before query.
fixes crash in PortManager::silence_outputs()
This commit is contained in:
parent
9ec3085d71
commit
59067d3568
@ -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…
Reference in New Issue
Block a user