mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-23 05:37:22 +01:00
DiskWriter needs to drop source refs in its destructor.
SerializedRCUManager can't do this by itself
This commit is contained in:
parent
7ef7ca1797
commit
c895e4ad7f
1 changed files with 6 additions and 0 deletions
|
|
@ -67,6 +67,12 @@ DiskWriter::DiskWriter (Session& s, string const & str, DiskIOProcessor::Flag f)
|
|||
DiskWriter::~DiskWriter ()
|
||||
{
|
||||
DEBUG_TRACE (DEBUG::Destruction, string_compose ("DiskWriter %1 @ %2 deleted\n", _name, this));
|
||||
|
||||
boost::shared_ptr<ChannelList> c = channels.reader();
|
||||
|
||||
for (ChannelList::iterator chan = c->begin(); chan != c->end(); ++chan) {
|
||||
(*chan)->write_source.reset ();
|
||||
}
|
||||
}
|
||||
|
||||
framecnt_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue