fix crash at exit if location-ui was used
LocationEditRow members are destroyed after ~LocationUI() destroys the clock_group. -> segfault in ~LocationEditRow()
This commit is contained in:
parent
611073790b
commit
1473442204
@ -839,6 +839,8 @@ LocationUI::LocationUI ()
|
||||
|
||||
LocationUI::~LocationUI()
|
||||
{
|
||||
loop_edit_row.unset_clock_group ();
|
||||
punch_edit_row.unset_clock_group ();
|
||||
delete _clock_group;
|
||||
}
|
||||
|
||||
|
@ -58,6 +58,7 @@ class LocationEditRow : public Gtk::HBox, public ARDOUR::SessionHandlePtr
|
||||
void set_number (int);
|
||||
void focus_name();
|
||||
void set_clock_group (ClockGroup&);
|
||||
void unset_clock_group () { _clock_group = 0; }
|
||||
|
||||
sigc::signal<void,ARDOUR::Location*> remove_requested;
|
||||
sigc::signal<void> redraw_ranges;
|
||||
|
Loading…
Reference in New Issue
Block a user