mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
217 B
Lua
13 lines
217 B
Lua
11 years ago
|
local CacheItem = require("cacheitem")
|
||
|
|
||
|
local TileCacheItem = CacheItem:new{}
|
||
|
|
||
|
function TileCacheItem:onFree()
|
||
|
if self.bb.free then
|
||
|
DEBUG("free blitbuffer", self.bb)
|
||
|
self.bb:free()
|
||
|
end
|
||
|
end
|
||
|
|
||
|
return TileCacheItem
|