Allow saving state w/o backend

Connections are remembered by ARDOUR::Port to re-establish at load.
This commit is contained in:
Robin Gareus 2017-06-25 22:03:42 +02:00
parent e511985ad9
commit de99d7c528
1 changed files with 0 additions and 6 deletions

View File

@ -801,12 +801,6 @@ Session::save_state (string snapshot_name, bool pending, bool switch_to_snapshot
}
_save_queued = false;
if (!_engine.connected ()) {
error << string_compose (_("the %1 audio engine is not connected and state saving would lose all I/O connections. Session not saved"), PROGRAM_NAME)
<< endmsg;
return 1;
}
snapshot_t fork_state = NormalSave;
if (!snapshot_name.empty() && snapshot_name != _current_snapshot_name && !template_only && !pending) {
/* snapshot, close midi */