mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Fix various issues when the engine disconnects:
Previously Port::PortDrop was never handled. The signal was disconnected directly when the connection is re-used by Port::PortSignalDrop. Ports::drop() was not called when the engine was stopped or disconnected, and port-handles were not invalidated. This lead to crashes whenever a port-related operation was performed while the engine was stopped. e.g. adding/removing tracks or plugins (latency recompute, notify port-engine) and various other operations.
This commit is contained in:
parent
4bbfb6ce50
commit
13c984c216
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ private:
|
|||
void port_connected_or_disconnected (boost::weak_ptr<Port>, boost::weak_ptr<Port>, bool);
|
||||
void signal_drop ();
|
||||
void drop ();
|
||||
PBD::ScopedConnection drop_connection;
|
||||
PBD::ScopedConnectionList drop_connection;
|
||||
PBD::ScopedConnection engine_connection;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue