Merge pull request #4637 from APriestman/restoreClearingPortableCase

Portable Case - clear out the artifact caches and set the case to null.
This commit is contained in:
Richard Cordovano 2019-03-21 13:32:48 -04:00 committed by GitHub
commit b91cdd4c98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -708,15 +708,19 @@ public class CreatePortableCaseModule implements GeneralReportModule {
oldIdToNewContent.clear();
newIdToContent.clear();
oldTagNameToNewTagName.clear();
oldArtTypeIdToNewArtTypeId.clear();
oldAttrTypeIdToNewAttrType.clear();
oldArtifactIdToNewArtifact.clear();
currentCase = null;
if (portableSkCase != null) {
portableSkCase.close();
portableSkCase = null;
}
caseFolder = null;
copiedFilesFolder = null;
}
@Override
public JPanel getConfigurationPanel() {
configPanel = new CreatePortableCasePanel();