Fix Playlist refcount when deleting track
authorRobin Gareus <robin@gareus.org>
Tue, 19 Mar 2019 02:02:30 +0000 (03:02 +0100)
committerRobin Gareus <robin@gareus.org>
Tue, 19 Mar 2019 02:08:06 +0000 (03:08 +0100)
commitab791658936a24d2df69102d07c430b38db8ca32
treedadbc9964027496350a26620252f8f2f5cc18211
parent7054b2ffc7ceb80a17c9043d3b49e6da9a638d75
Fix Playlist refcount when deleting track

Both Disk-reader and Disk-writer use the same playlist.
ARDOUR::Track::use_playlist() sets it for both Disk-IO processors,
so it needs to be released by both on destruction.
libs/ardour/disk_io.cc
libs/ardour/disk_reader.cc