13
0

Cleanup stub files after setup_raid_path has prepared the paths for it to use.

git-svn-id: svn://localhost/ardour2/branches/3.0@9002 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-03-01 15:05:55 +00:00
parent 1c5f395c01
commit 3110429deb

View File

@ -299,7 +299,6 @@ Session::second_stage_init ()
if (load_state (_current_snapshot_name)) {
return -1;
}
cleanup_stubfiles ();
}
if (_butler->start_thread()) {
@ -1236,6 +1235,8 @@ Session::set_state (const XMLNode& node, int version)
setup_raid_path(_session_dir->root_path().to_string());
cleanup_stubfiles ();
if ((prop = node.property (X_("id-counter"))) != 0) {
uint64_t x;
sscanf (prop->value().c_str(), "%" PRIu64, &x);