mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
fix audio-engine dtor.
backends - once instantiated - keep a reference to the engine. when audioengine is destroyed, the backends must be deinstantiated. This fixes various unit-test cases.
This commit is contained in:
parent
9268d2e699
commit
32269f0c5a
1 changed files with 3 additions and 0 deletions
|
|
@ -101,6 +101,9 @@ AudioEngine::~AudioEngine ()
|
|||
stop_metering_thread ();
|
||||
stop_hw_event_processing();
|
||||
drop_backend ();
|
||||
for (BackendMap::const_iterator i = _backends.begin(); i != _backends.end(); ++i) {
|
||||
i->second->deinstantiate();
|
||||
}
|
||||
}
|
||||
|
||||
AudioEngine*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue