editor: clip picker expects set_session(0) to avoid dangling session-handle refs
This commit is contained in:
parent
7f89db9f36
commit
93207d45c5
@ -1320,6 +1320,7 @@ void
|
||||
Editor::set_session (Session *t)
|
||||
{
|
||||
SessionHandlePtr::set_session (t);
|
||||
_trigger_clip_picker.set_session (_session);
|
||||
|
||||
if (!_session) {
|
||||
return;
|
||||
@ -1336,7 +1337,6 @@ Editor::set_session (Session *t)
|
||||
_route_groups->set_session (_session);
|
||||
_regions->set_session (_session);
|
||||
_sources->set_session (_session);
|
||||
_trigger_clip_picker.set_session (_session);
|
||||
_snapshots->set_session (_session);
|
||||
_routes->set_session (_session);
|
||||
_locations->set_session (_session);
|
||||
|
Loading…
Reference in New Issue
Block a user