mirror of https://github.com/cirruslabs/tart.git
Don't forget to finalize output stream (#640)
There is a suspicion that this might leak memory
This commit is contained in:
parent
8d5574ed3f
commit
b95585b56b
|
|
@ -106,6 +106,8 @@ class DiskV2: Disk {
|
|||
progress.completedUnitCount += Int64(data.count)
|
||||
}
|
||||
|
||||
try filter.finalize()
|
||||
|
||||
try disk.close()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue