Ensure that no ThawList remains frozen by accident

This commit is contained in:
Robin Gareus 2021-05-01 17:31:32 +02:00
parent 08d8478f66
commit 8b888282fa
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 7 additions and 0 deletions

View File

@ -27,6 +27,7 @@ namespace ARDOUR {
class LIBARDOUR_API ThawList : public RegionList
{
public:
~ThawList ();
void add (boost::shared_ptr<Region> r);
void release ();
};

View File

@ -23,6 +23,12 @@
using namespace ARDOUR;
ThawList::~ThawList ()
{
assert (empty ()); // so far all lists are explicitly release()d
release ();
}
void
ThawList::add (boost::shared_ptr<Region> r)
{