Skip to content

Commit

Permalink
Rec-stop only writes a pending (recovery) file (#9215)
Browse files Browse the repository at this point in the history
This is consistent, since after handling the
`SaveSessionRequested` signal the session remains dirty
(which may be a bug). However since the signal is handled
by the GUI, rec-stop only saves the session if there is a GUI.

It is however somewhat dangerous. Record, quit + no-save (or
changing snapshots w/o saving first) will loose any references
to the recorded data (even though it is still on disk).

Note that "remove last capture" still saves the session
(to prevent references to non-existent sources).
  • Loading branch information
x42 committed Feb 3, 2023
1 parent 054e1c3 commit 14606ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtk2_ardour/ardour_ui_session.cc
Expand Up @@ -1324,7 +1324,7 @@ void
ARDOUR_UI::save_session_at_its_request (std::string snapshot_name)
{
if (_session) {
_session->save_state (snapshot_name);
_session->save_state (snapshot_name, true);
}
}

Expand Down

0 comments on commit 14606ac

Please sign in to comment.