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:
parent
6677985f43
commit
32ab86230e
@ -1297,6 +1297,10 @@ EditorRegions::clear ()
|
|||||||
_display.set_model (Glib::RefPtr<Gtk::TreeStore> (0));
|
_display.set_model (Glib::RefPtr<Gtk::TreeStore> (0));
|
||||||
_model->clear ();
|
_model->clear ();
|
||||||
_display.set_model (_model);
|
_display.set_model (_model);
|
||||||
|
|
||||||
|
/* Clean up the maps */
|
||||||
|
region_row_map.clear();
|
||||||
|
parent_regions_sources_map.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::shared_ptr<Region>
|
boost::shared_ptr<Region>
|
||||||
|
Loading…
Reference in New Issue
Block a user