fix a crash when deleting a MIDI region with CC automation (see recipe below)

- object mode: select a MIDI region that has CC automation.
	  Move the mouse over a CC automation event,
	  then press backspace to delete the selected region

	- the recipe is mentioned in #7049, but seems unrelated.
This commit is contained in:
nick_m 2016-11-23 15:29:57 +11:00
parent 522264f5d6
commit 390f56a5e1

View File

@ -68,6 +68,7 @@ AutomationRegionView::AutomationRegionView (ArdourCanvas::Container*
AutomationRegionView::~AutomationRegionView ()
{
in_destructor = true;
RegionViewGoingAway (this); /* EMIT_SIGNAL */
}