Index: Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.IO/Exporters/MacroStabilityInwardsCalculationGroupExporter.cs =================================================================== diff -u -r130df59d469fe5daf7db042cebf3939b926008d6 -rc7aee191271e7a5d73a2a35b303252cb2e36d471 --- Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.IO/Exporters/MacroStabilityInwardsCalculationGroupExporter.cs (.../MacroStabilityInwardsCalculationGroupExporter.cs) (revision 130df59d469fe5daf7db042cebf3939b926008d6) +++ Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.IO/Exporters/MacroStabilityInwardsCalculationGroupExporter.cs (.../MacroStabilityInwardsCalculationGroupExporter.cs) (revision c7aee191271e7a5d73a2a35b303252cb2e36d471) @@ -137,8 +137,6 @@ { if (Directory.Exists(tempFolderPath)) { - ForceZipFileToReleaseAllFileHandles(); - Directory.Delete(tempFolderPath, true); } } @@ -230,11 +228,5 @@ var fileNameWithExtension = $"{fileName}.{fileExtension}"; return Path.Combine(currentFolderPath, fileNameWithExtension); } - - private static void ForceZipFileToReleaseAllFileHandles() - { - GC.Collect(); - GC.WaitForPendingFinalizers(); - } } } \ No newline at end of file