Files
ardour/libs
Robin Gareus 95de61f74e Fix race condition when closing a session
~Session calls AudioEngine::remove_session(), which fades out,
then unsets the session, and then in libs/ardour/audioengine.cc:460
```
session_removed.signal(); // wakes up thread that initiated session removal
```

Session d'tor continues, and calls Port::PortDrop(), which
unregisters all ports one at a time.

Concurrently, AudioEngine continues, and calls PortManager::silence_outputs
which gets all ports first (!), and then iterates over them.

There is a race condition which can lead to
DummyAudioBackend::get_buffer: Assertion `valid_port (port)' failed
2023-04-24 17:43:08 +02:00
..
2023-04-19 14:20:48 +02:00
2023-04-01 17:21:32 +02:00
2022-08-03 12:10:01 -06:00
2023-04-23 11:34:28 -06:00
2022-09-21 19:09:55 -06:00
2023-03-25 07:46:47 +01:00
2023-02-08 02:03:54 +01:00