mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Fix crash when removing Routes and VCA
VCATimeAxisView::self_delete () resets _vca and queues delete_when_idle. From now on STAV::strippable () will return 0. Editor::idle_remove_tracks() returns, and before the VCATimeAxisView is destroyed. Editor::redisplay_track_views() may be called. The VCATimeAxisView still exists at this point and is in Editor::track_views, but has no valid stripable. This causes a crash in TrackViewStripableSorter which depends on STAV::stripable();
This commit is contained in:
parent
92024697aa
commit
83719fba1a
1 changed files with 0 additions and 2 deletions
|
|
@ -129,8 +129,6 @@ VCATimeAxisView::~VCATimeAxisView ()
|
|||
void
|
||||
VCATimeAxisView::self_delete ()
|
||||
{
|
||||
/* reset reference immediately rather than deferring to idle */
|
||||
_vca.reset ();
|
||||
delete_when_idle (this);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue