Horizon
/Horizon/Database/SnapshotDatabase.cs |
---|
@@ -1120,9 +1120,9 @@ |
File.Replace(temp, path, null, true); |
} |
catch(Exception e1) |
catch(Exception replaceException) |
{ |
var a = e1; |
Log.Warning(replaceException, "Failed to copy temporary file."); |
try |
{ |
File.Delete(temp); |
@@ -1153,8 +1153,13 @@ |
new GZipStream(readStream, CompressionMode.Decompress)) |
{ |
await zipStream.CopyToAsync(fileStream); |
zipStream.Close(); |
} |
fileStream.Close(); |
} |
readStream.Close(); |
} |