2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +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