AutomationRegionView::~AutomationRegionView ()
{
+ in_destructor = true;
RegionViewGoingAway (this); /* EMIT_SIGNAL */
}
/* snap frame */
- when = snap_frame_to_frame (when - _region->start ()) + _region->start ();
+ when = snap_frame_to_frame (when - _region->start ()).frame + _region->start ();
/* map using line */