Revert my revision 6996, which was wrong. Sources need to stay around in the session even when they are no longer being used as the write source for a Diskstream.

git-svn-id: svn://localhost/ardour2/branches/3.0@7000 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington
2010-04-27 00:59:31 +00:00
parent 581376e0ed
commit 56469c1956
2 changed files with 0 additions and 2 deletions

View File

@@ -924,7 +924,6 @@ MidiDiskstream::transport_stopped_wallclock (struct tm& /*when*/, time_t /*twhen
if (_write_source) {
_write_source->mark_for_remove ();
_write_source->drop_references ();
_write_source.reset();
}

View File

@@ -2427,7 +2427,6 @@ Session::add_source (boost::shared_ptr<Source> source)
}
if (result.second) {
source->DropReferences.connect_same_thread (*this, boost::bind (&Session::remove_source, this, boost::weak_ptr<Source> (source)));
set_dirty();
}