reset swap file chunk after uploading

This commit is contained in:
chrislu 2022-01-23 18:30:53 -08:00
parent e185d90d24
commit 520591e6ea

View file

@ -113,4 +113,5 @@ func (sc *SwapFileChunk) SaveContent(saveFn SaveToStorageFunc) {
}) })
mem.Free(data) mem.Free(data)
} }
sc.usage = newChunkWrittenIntervalList()
} }