13
0

clean up new region list management maps to avoid dangling shared ptrs and more (from lincoln)

git-svn-id: svn://localhost/ardour2/branches/3.0@8853 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-02-15 12:23:57 +00:00
parent 6677985f43
commit 32ab86230e

View File

@ -1297,6 +1297,10 @@ EditorRegions::clear ()
_display.set_model (Glib::RefPtr<Gtk::TreeStore> (0));
_model->clear ();
_display.set_model (_model);
/* Clean up the maps */
region_row_map.clear();
parent_regions_sources_map.clear();
}
boost::shared_ptr<Region>