mirror of
https://github.com/koreader/koreader
synced 2024-11-13 19:11:25 +00:00
14 lines
246 B
Lua
14 lines
246 B
Lua
local CacheItem = require("cacheitem")
|
|
local DEBUG = require("dbg")
|
|
|
|
local TileCacheItem = CacheItem:new{}
|
|
|
|
function TileCacheItem:onFree()
|
|
if self.bb.free then
|
|
DEBUG("free blitbuffer", self.bb)
|
|
self.bb:free()
|
|
end
|
|
end
|
|
|
|
return TileCacheItem
|