Merge branch 'master' into old-engine

This commit is contained in:
nikk gitanes
2023-04-09 06:30:14 +03:00
3 changed files with 33 additions and 30 deletions

View File

@@ -104,10 +104,9 @@ func (c *Cache) Close() error {
}
}
c.pieces = nil
c.muReaders.Lock()
c.readers = nil
c.pieces = nil
c.muReaders.Unlock()
utils.FreeOSMemGC()