Update thumbnail/thumbnail.go
This commit is contained in:
parent
08fc5b1c10
commit
ca3742fb22
@ -125,6 +125,7 @@ func GetThumbnail(c *fiber.Ctx, completePath string) {
|
|||||||
thumbnailCacheMutex.RUnlock()
|
thumbnailCacheMutex.RUnlock()
|
||||||
if ok {
|
if ok {
|
||||||
c.Write(bytesThumb)
|
c.Write(bytesThumb)
|
||||||
|
Free()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user