Don't forget to finalize output stream (#640)

There is a suspicion that this might leak memory
This commit is contained in:
Fedor Korotkov
2023-11-01 12:19:11 +04:00
committed by GitHub
parent 8d5574ed3f
commit b95585b56b
+2
View File
@@ -106,6 +106,8 @@ class DiskV2: Disk {
progress.completedUnitCount += Int64(data.count)
}
try filter.finalize()
try disk.close()
}