2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00
koreader/frontend/document/tilecacheitem.lua
2013-10-22 20:51:29 +02:00

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