mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-02 11:49:33 +01:00
Fix crash when an early callback changes selection during session load
This can happen e.g. from a VST3 plugin's state restore.
This commit is contained in:
parent
4273652488
commit
557058f362
1 changed files with 9 additions and 0 deletions
|
|
@ -1083,6 +1083,15 @@ Editor::set_selected_regionview_from_map_event (GdkEventAny* /*ev*/, StreamView*
|
|||
void
|
||||
Editor::presentation_info_changed (PropertyChange const & what_changed)
|
||||
{
|
||||
if (!_session || _session->deletion_in_progress()) {
|
||||
/* static signal, that the editor c'tor subscribes to.
|
||||
* It may be received during connect_dependents_to_session() when
|
||||
* signals are processed in BootMessage -> GUIIdle, just
|
||||
* just before Editor::set_session();
|
||||
*/
|
||||
return;
|
||||
}
|
||||
|
||||
uint32_t n_tracks = 0;
|
||||
uint32_t n_busses = 0;
|
||||
uint32_t n_vcas = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue