Ensure that no ThawList remains frozen by accident
This commit is contained in:
parent
08d8478f66
commit
8b888282fa
@ -27,6 +27,7 @@ namespace ARDOUR {
|
||||
class LIBARDOUR_API ThawList : public RegionList
|
||||
{
|
||||
public:
|
||||
~ThawList ();
|
||||
void add (boost::shared_ptr<Region> r);
|
||||
void release ();
|
||||
};
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user