mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Fix crash at exit when closing session before quit
This commit is contained in:
parent
777ac65831
commit
e3e794f3a8
1 changed files with 2 additions and 1 deletions
|
|
@ -977,9 +977,10 @@ void
|
|||
ARDOUR_UI::finish()
|
||||
{
|
||||
bool delete_unnamed_session = false;
|
||||
const bool unnamed = _session->unnamed();
|
||||
|
||||
if (_session) {
|
||||
const bool unnamed = _session->unnamed();
|
||||
|
||||
ARDOUR_UI::instance()->video_timeline->sync_session_state();
|
||||
|
||||
if (_session->dirty() || unnamed) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue