Mercurial > hg > svapp
diff framework/Align.cpp @ 424:d044682967ca alignment_view
Delete the alignment model when alignment fails
author | Chris Cannam |
---|---|
date | Thu, 20 Nov 2014 16:18:17 +0000 |
parents | f32a64149602 |
children | 5882462fa747 |
line wrap: on
line diff
--- a/framework/Align.cpp Thu Nov 20 15:46:19 2014 +0000 +++ b/framework/Align.cpp Thu Nov 20 16:18:17 2014 +0000 @@ -173,7 +173,7 @@ << endl; m_error = "Alignment program could not be started"; m_processModels.erase(process); - delete alignmentModel; + rm->setAlignment(0); // deletes alignmentModel as well delete process; }